Workaround ubuntu update issue

This commit is contained in:
mollusk 2018-08-28 15:41:54 -07:00
parent 668d64ca2a
commit 0103c4458f

6
tux.sh
View File

@ -81,7 +81,9 @@ if [ "${MANAGER}" = "apt" ];then
reinstallCmd="${MANAGER} install --reinstall" reinstallCmd="${MANAGER} install --reinstall"
removeCmd="${MANAGER} remove" removeCmd="${MANAGER} remove"
searchCmd="${MANAGER} search" searchCmd="${MANAGER} search"
supCmd="${MANAGER} update && ${MANAGER} upgrade" updateCmd="${MANAGER} update"
upgradeCmd="${MANAGER} upgrade"
supCmd="${MANAGER} update ; sudo ${MANAGER} upgrade"
elif [ "${MANAGER}" = "dnf" ];then elif [ "${MANAGER}" = "dnf" ];then
installCmd="${MANAGER} install" installCmd="${MANAGER} install"
@ -161,7 +163,7 @@ s | -s | search)
-Syu | -Su | sup) -Syu | -Su | sup)
${supCmd} ${updateCmd} && ${upgradeCmd}
;; ;;
r | -r | remove) r | -r | remove)