Browse Source

set +e

merge-requests/89/head
Steven Foerster 5 years ago
parent
commit
c395bfa713
  1. 2
      scripts/subinstallers/docker.sh

2
scripts/subinstallers/docker.sh

@ -8,12 +8,14 @@ sudo -E apt install -y python python3-pip python3-setuptools libffi-dev python3-
# Ubuntu version >= 20.04 # Ubuntu version >= 20.04
set +e
vercomp "$VERSION_ID" "19.10" vercomp "$VERSION_ID" "19.10"
case $? in case $? in
0) op='=';; 0) op='=';;
1) op='>';; 1) op='>';;
2) op='<';; 2) op='<';;
esac esac
set -e
if [ "$DISTRO" == "ubuntu" ] && [ "$op" == ">" ]; then if [ "$DISTRO" == "ubuntu" ] && [ "$op" == ">" ]; then
echo "Automated Docker install" echo "Automated Docker install"

Loading…
Cancel
Save