Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
c7e6a093
Unverified
Commit
c7e6a093
authored
Sep 23, 2018
by
Igor Pečovnik
Committed by
GitHub
Sep 23, 2018
Browse files
Cleaner Docker install
parent
977ed109
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-software
View file @
c7e6a093
...
...
@@ -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/}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment