refactor: update package lists only when stale (#346)

Co-authored-by: th33xitus <th33xitus@googlemail.com>
This commit is contained in:
cravl-dev
2023-06-17 12:08:24 -04:00
committed by GitHub
parent 5d7debd65e
commit 8eb2924832
9 changed files with 104 additions and 97 deletions

View File

@@ -34,7 +34,8 @@ function install_ui() {
}
function install_menu() {
clear && print_header
clear -x && sudo -v && clear -x # (re)cache sudo credentials so password prompt doesn't bork ui
print_header
install_ui
### save all installed webinterface ports to the ini file