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
Hide whitespace changes
Inline
Side-by-side
debian-software
View file @
c7e6a093
...
@@ -675,6 +675,17 @@ debconf-apt-progress -- apt-get -y install $pkglist
...
@@ -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 ()
install_urbackup ()
{
{
#
#
...
@@ -1565,14 +1576,11 @@ while true; do
...
@@ -1565,14 +1576,11 @@ while true; do
selection=${selection//\"Pi hole\"/}
selection=${selection//\"Pi hole\"/}
fi
fi
if [[ "$selection" == Docker
&&
"$DOCKER_STATUS" != "on" ]]; then
if [[ "$selection" == Docker
&&
"$DOCKER_STATUS" != "on" ]]; then
curl -sSL https://get.docker.com | sh
install_docker
systemctl enable docker
selection=${selection//\"Docker\"/}
systemctl start docker
selection=${selection//\"Docker\"/}
fi
fi
if [[ "$selection" == *Transmission*
&&
"$TRANSMISSION_STATUS" != "on" ]]; then
if [[ "$selection" == *Transmission*
&&
"$TRANSMISSION_STATUS" != "on" ]]; then
install_transmission
install_transmission
selection=${selection//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