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

Bugfix

Docker install was in the loop
parent 265a6232
...@@ -678,7 +678,7 @@ debconf-apt-progress -- apt-get -y install $pkglist ...@@ -678,7 +678,7 @@ debconf-apt-progress -- apt-get -y install $pkglist
install_docker () install_docker ()
{ {
echo "deb https://download.docker.com/linux/${family,,} $distribution edge" > /etc/apt/sources.list.d/docker.list 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 curl -fsSL "https://download.docker.com/linux/${family,,}/gpg" | apt-key add -qq - > /dev/null 2>&1
debconf-apt-progress -- apt-get update debconf-apt-progress -- apt-get update
debconf-apt-progress -- apt-get install -y -qq --no-install-recommends docker-ce debconf-apt-progress -- apt-get install -y -qq --no-install-recommends docker-ce
} }
...@@ -1578,7 +1578,7 @@ while true; do ...@@ -1578,7 +1578,7 @@ while true; do
if [[ "$selection" == *Docker* && "$DOCKER_STATUS" != "on" ]]; then if [[ "$selection" == *Docker* && "$DOCKER_STATUS" != "on" ]]; then
install_docker install_docker
selection=${selection//\"Docker\"/} selection=${selection//Docker/}
fi fi
if [[ "$selection" == *Transmission* && "$TRANSMISSION_STATUS" != "on" ]]; then if [[ "$selection" == *Transmission* && "$TRANSMISSION_STATUS" != "on" ]]; then
......
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