refactor: update package lists only when stale #346

Merged
cravl-dev merged 11 commits from fix-334 into master 2023-06-17 18:08:24 +02:00
Showing only changes of commit 7082aea22b - Show all commits

View File

@@ -11,7 +11,7 @@
set -e
function update_ui() {
function update_ui() {
top_border
echo -e "| ${green}~~~~~~~~~~~~~~ [ Update Menu ] ~~~~~~~~~~~~~~${white} |"
hr
@@ -40,6 +40,7 @@ function update_ui() {
}
function update_menu() {
clear -x && sudo -v && clear -x # (re)cache sudo credentials so password prompt doesn't bork ui
do_action "" "update_ui"
local action