mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 14:05:54 +00:00
short_test
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user