Updated AppName.sh Scripts (markdown)

Michel Roegl-Brunner 2025-01-28 13:44:35 +01:00
parent 50bd04baf3
commit 8df99f90fe

@ -172,7 +172,7 @@ if [[ ! -d /opt/snipe-it ]]; then
### 3.3 **Check version** ### 3.3 **Check version**
- Befoer updating, check if a new version exists. - Before updating, check if a new version exists.
- We use the `${APPLICATION}_version.txt` file created in `/opt` during the install to compare new versions against the currently installed version. - We use the `${APPLICATION}_version.txt` file created in `/opt` during the install to compare new versions against the currently installed version.
Example with a Github Release: Example with a Github Release:
@ -253,7 +253,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 "There is currently no automatic update function for ${APP}."
exit exit
} }
``` ```