bbb-greenlight-install.sh: some minor changes.
This commit is contained in:
parent
1ddf192f2a
commit
73610a8ba8
@ -160,17 +160,6 @@ fi
|
|||||||
|
|
||||||
blank_line
|
blank_line
|
||||||
|
|
||||||
# Remove old versions of Docker
|
|
||||||
#
|
|
||||||
echononl "Remove old versions of Docker .."
|
|
||||||
apt-get remove -y docker docker-engine docker.io containerd runc > "$log_file" 2>&1
|
|
||||||
if [[ $? -ne 0 ]]; then
|
|
||||||
echo_failed
|
|
||||||
error "$(cat "$log_file")"
|
|
||||||
else
|
|
||||||
echo_ok
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Stop Service if started
|
# Stop Service if started
|
||||||
#
|
#
|
||||||
echononl "Stop Greenlight Service.."
|
echononl "Stop Greenlight Service.."
|
||||||
@ -186,6 +175,17 @@ else
|
|||||||
echo_skipped
|
echo_skipped
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Remove old versions of Docker
|
||||||
|
#
|
||||||
|
echononl "Remove old versions of Docker .."
|
||||||
|
apt-get remove -y docker docker-engine docker.io containerd runc > "$log_file" 2>&1
|
||||||
|
if [[ $? -ne 0 ]]; then
|
||||||
|
echo_failed
|
||||||
|
error "$(cat "$log_file")"
|
||||||
|
else
|
||||||
|
echo_ok
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Install packages to allow apt to use a repository over HTTPS
|
# Install packages to allow apt to use a repository over HTTPS
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user