more tweaks

This commit is contained in:
tb14
2022-11-04 15:41:50 -05:00
parent 7cd093c423
commit 51c89edc36
-2
View File
@@ -170,7 +170,6 @@ rc=$?
if [[ $rc -eq 2 ]]; then
echo "Installing Dependencies" | sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install libc6-i386 && sudo apt install libasound2-plugins:i386 && sudo apt upgrade ||
{ ERRCODE="Failed to install dependencies"; errors; }
else
elif [[ $rc == 0 ]]; then
yad --image=$DIR/images/corps-icon.png --center --button="gtk-ok:0" --title "Exit Selected" --text "Exiting installer now" ${r} ${c}
exit 1
@@ -208,7 +207,6 @@ rc=$?
if [[ $rc -eq 2 ]]; then
echo "Installing Wine" | sudo apt-get install -y wine ||
{ ERRCODE="Failed to install wine"; errors; }
else
elif [[ $rc == 0 ]]; then
yad --image=$DIR/images/corps-icon.png --center --button="gtk-ok:0" --title "Exit Selected" --text "Exiting installer now" ${r} ${c}
exit 1