fixes
This commit is contained in:
@@ -20,25 +20,28 @@ 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 && 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}"
|
||||
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
|
||||
}
|
||||
|
||||
start
|
||||
@@ -46,3 +49,6 @@ build_container
|
||||
description
|
||||
|
||||
msg_ok "Completed Successfully!\n"
|
||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:xxxx${CL}"
|
||||
|
||||
Reference in New Issue
Block a user