Unverified Commit c7e6a093 authored by Igor Pečovnik's avatar Igor Pečovnik Committed by GitHub
Browse files

Cleaner Docker install

parent 977ed109
......@@ -675,6 +675,17 @@ debconf-apt-progress -- apt-get -y install $pkglist
install_docker ()
{
echo "deb https://download.docker.com/linux/${family,,} $distribution edge" > /etc/apt/sources.list.d/docker.list
curl -fsSL "https://download.docker.com/linux/${family,,}/gpg" | apt-key add -qq - >/dev/null
debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get install -y -qq --no-install-recommends docker-ce
}
install_urbackup ()
{
#
......@@ -1566,13 +1577,10 @@ while true; do
fi
if [[ "$selection" == Docker && "$DOCKER_STATUS" != "on" ]]; then
curl -sSL https://get.docker.com | sh
systemctl enable docker
systemctl start docker
install_docker
selection=${selection//\"Docker\"/}
fi
if [[ "$selection" == *Transmission* && "$TRANSMISSION_STATUS" != "on" ]]; then
install_transmission
selection=${selection//Transmission/}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment