mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 15:25:53 +00:00
Update tinyauth
This commit is contained in:
@@ -20,28 +20,25 @@ color
|
||||
catch_errors
|
||||
|
||||
function update_script() {
|
||||
header_info
|
||||
if [ ! -d /opt/tinyauth ]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit 1
|
||||
fi
|
||||
msg_info "Updating Alpine Packages"
|
||||
$STD apk update
|
||||
$STD apk upgrade
|
||||
msg_ok "Updated Alpine Packages"
|
||||
header_info
|
||||
if [ ! -d /opt/tinyauth ]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit 1
|
||||
fi
|
||||
msg_info "Updating Alpine Packages"
|
||||
$STD apk update
|
||||
$STD 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 tinyauth"
|
||||
$STD apk upgrade tinyauth
|
||||
msg_ok "Updated tinyauth"
|
||||
|
||||
msg_info "Updating tinyauth"
|
||||
$STD apk upgrade tinyauth
|
||||
msg_ok "Updated tinyauth"
|
||||
msg_info "Restarting tinyauth"
|
||||
$STD rc-service tinyauth restart
|
||||
msg_ok "Restarted tinyauth"
|
||||
|
||||
msg_info "Restarting tinyauth"
|
||||
$STD rc-service tinyauth restart
|
||||
msg_ok "Restarted tinyauth"
|
||||
|
||||
exit 0
|
||||
exit 0
|
||||
}
|
||||
|
||||
start
|
||||
|
||||
Reference in New Issue
Block a user