mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
more tweaks
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user