short_test

This commit is contained in:
CanbiZ
2025-03-26 08:24:10 +01:00
parent 65ae8d540f
commit cb33ea26df
3 changed files with 20 additions and 36 deletions

View File

@@ -25,9 +25,6 @@ function update_script() {
$STD apk update && apk upgrade
msg_ok "Updated Alpine Packages"
echo "DEBUG: CT_TYPE before update_script=${CT_TYPE:-UNDEFINED}"
echo "DEBUG: var_unprivileged=${var_unprivileged:-UNDEFINED}"
msg_info "Updating Gitea"
$STD apk upgrade gitea
msg_ok "Updated Gitea"

View File

@@ -19,6 +19,18 @@ variables
color
catch_errors
function update_script() {
UPD=$(whiptail --backtitle "Proxmox VE Helper Scripts" --title "SUPPORT" --radiolist --cancel-button Exit-Script "Spacebar = Select" 11 58 1 \
"1" "Check for Alpine Updates" ON \
3>&1 1>&2 2>&3)
header_info
if [ "$UPD" == "1" ]; then
apk update && apk upgrade
exit
fi
}
function update_script() {
msg_info "Updating Alpine Packages"
apk update && apk upgrade