Browse Source

fix script failing when zenity is not found

before_cleanup
Alexandros Theodotou 2 years ago
parent
commit
c44e43a05b
Signed by: alex
GPG Key ID: 022EAE42313D70F3
  1. 5
      installer.sh.in

5
installer.sh.in

@ -44,10 +44,7 @@ ubuntu_20_04_str="Ubuntu 20.04" @@ -44,10 +44,7 @@ ubuntu_20_04_str="Ubuntu 20.04"
zenity_width=360
have_zenity=0
command -v zenity
if [ $? -eq 0 ]; then
have_zenity=1
fi
command -v zenity && have_zenity=1 || true
if [[ "$ID" = *"debian"* ]]; then
if [[ "$VERSION_ID" = *"10"* ]]; then

Loading…
Cancel
Save