Update linupx-scripts.sh

This commit is contained in:
2023-07-28 20:49:53 -05:00
parent 910309655e
commit e2794bfe2e

View File

@@ -66,12 +66,13 @@ UPDATE1() {
$APTFUNC update $APTFUNC update
$APTFUNC upgrade -y $APTFUNC upgrade -y
echo $APTFUNC dist-upgrade;;
read -n 1 -p "Would you like to run dist-upgrade as well (Y/n)?" choice # echo
echo # read -n 1 -p "Would you like to run dist-upgrade as well (Y/n)?" choice
case "$choice" in # echo
[Yy]) $APTFUNC dist-upgrade;; # case "$choice" in
esac # [Yy]) $APTFUNC dist-upgrade;;
# esac
[[ "$useAutoremove" -ne 0 ]] && AUTOREMOVE [[ "$useAutoremove" -ne 0 ]] && AUTOREMOVE
fi fi