1
0
mirror of https://github.com/community-scripts/ProxmoxVE.git synced 2025-03-08 13:19:05 +00:00

Typo in update scripts (#2707)

* Fix typo

* Change no update function msg
This commit is contained in:
bvdberg01 2025-02-27 13:13:31 +01:00 committed by GitHub
parent 474954afb6
commit 0d4b4a1837
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
17 changed files with 17 additions and 18 deletions

View File

@ -247,7 +247,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no automatic update function for ${APP}." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }
``` ```

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -28,7 +28,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "Ther is currently no automatic update function for ${APP}." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -28,7 +28,7 @@ function update_script() {
exit exit
fi fi
/opt/beszel/beszel update /opt/beszel/beszel update
msg_error "Ther is currently no automatic update function for ${APP}." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
systemctl stop ${APP} systemctl stop ${APP}

View File

@ -30,7 +30,7 @@ function update_script() {
fi fi
RELEASE=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/') RELEASE=$(curl -s https://api.github.com/repos/glpi-project/glpi/releases/latest | grep '"tag_name"' | sed -E 's/.*"tag_name": "([^"]+)".*/\1/')
if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_version.txt)" ]]; then
msg_error "Ther is currently no automatic update function for ${APP}." msg_error "Currently we don't provide an update function for this ${APP}."
else else
msg_ok "No update required. ${APP} is already at v${RELEASE}." msg_ok "No update required. ${APP} is already at v${RELEASE}."
fi fi

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -27,7 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit exit
} }

View File

@ -27,8 +27,7 @@ function update_script() {
msg_error "No ${APP} Installation Found!" msg_error "No ${APP} Installation Found!"
exit exit
fi fi
msg_error "There is currently no update path available." msg_error "Currently we don't provide an update function for this ${APP}."
exit
exit exit
} }