bbb-greenlight-install.sh: some minor changes.

This commit is contained in:
Christoph 2020-03-30 21:36:32 +02:00
parent 1ddf192f2a
commit 73610a8ba8

View File

@ -160,17 +160,6 @@ fi
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
#
echononl "Stop Greenlight Service.."
@ -186,6 +175,17 @@ else
echo_skipped
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
#