Workaround ubuntu update issue
This commit is contained in:
parent
668d64ca2a
commit
0103c4458f
6
tux.sh
6
tux.sh
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user