fix: bug not updating all when selecting to do so.

* also make the confirm message more verbose and make it clear that KIAUH won't update any held back packages or any dist upgrades.
This commit is contained in:
th33xitus
2022-02-07 14:47:36 +01:00
parent 005a5061a7
commit 4f7a49d85a
2 changed files with 17 additions and 16 deletions

View File

@@ -336,6 +336,6 @@ update_MoonrakerTelegramBot(){
update_system(){
status_msg "Updating System ..."
sudo apt-get update --allow-releaseinfo-change && sudo apt-get upgrade -y
ok_msg "Update complete! Check the log above!"
ok_msg "KIAUH won't do any dist-upgrades!\n"
CONFIRM_MSG="Update complete! Check the log above!\n ${yellow}KIAUH will not install any dist-upgrades or\n any packages which have been kept back!${green}"
print_msg && clear_msg
}