mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
added -y for upgrade commands
This commit is contained in:
@@ -168,7 +168,7 @@ echo "Now we will install the dependencies required" | yad \
|
|||||||
${r} ${c}
|
${r} ${c}
|
||||||
rc=$?
|
rc=$?
|
||||||
if [[ $rc -eq 2 ]]; then
|
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 ||
|
echo "Installing Dependencies" | sudo dpkg --add-architecture i386 && sudo apt update && sudo apt install -y libc6-i386 && sudo apt install -y libasound2-plugins:i386 && sudo apt upgrade -y ||
|
||||||
{ ERRCODE="Failed to install dependencies"; errors; }
|
{ ERRCODE="Failed to install dependencies"; errors; }
|
||||||
elif [[ $rc == 0 ]]; then
|
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}
|
yad --image=$DIR/images/corps-icon.png --center --button="gtk-ok:0" --title "Exit Selected" --text "Exiting installer now" ${r} ${c}
|
||||||
|
|||||||
Reference in New Issue
Block a user