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
c38ad64d
Commit
c38ad64d
authored
Jun 22, 2018
by
Igor Pecovnik
Browse files
Added Docker install
parent
778a7f18
Changes
1
Show whitespace changes
Inline
Side-by-side
debian-software
View file @
c38ad64d
...
@@ -164,6 +164,9 @@ URBACKUP_STATUS="$((check_if_installed urbackup-server || check_if_installed urb
...
@@ -164,6 +164,9 @@ URBACKUP_STATUS="$((check_if_installed urbackup-server || check_if_installed urb
alive_port
"Client/server backup system"
"51413"
"boolean"
alive_port
"Client/server backup system"
"51413"
"boolean"
LIST
+=
(
"UrBackup"
"
$DESCRIPTION
"
"
$URBACKUP_STATUS
"
)
LIST
+=
(
"UrBackup"
"
$DESCRIPTION
"
"
$URBACKUP_STATUS
"
)
# Docker
DOCKER_STATUS
=
"$((check_if_installed docker-ce) && echo "
on
" || echo "
off
" )"
LIST
+=
(
"Docker"
"Run applications by using containers"
"
$DOCKER_STATUS
"
)
# ISPconfig
# ISPconfig
ISPCONFIG_STATUS
=
"$([[ -d /usr/local/ispconfig ]] && echo "
on
" || echo "
off
" )"
ISPCONFIG_STATUS
=
"$([[ -d /usr/local/ispconfig ]] && echo "
on
" || echo "
off
" )"
...
@@ -1522,6 +1525,14 @@ while true; do
...
@@ -1522,6 +1525,14 @@ while true; do
selection=${selection//\"Pi hole\"/}
selection=${selection//\"Pi hole\"/}
fi
fi
if [[ "$selection" == Docker
&&
"$DOCKER_STATUS" != "on" ]]; then
curl -sSL https://get.docker.com | sh
systemctl enable docker
systemctl start docker
selection=${selection//\"Docker\"/}
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