Update Pf2eTools.sh

This commit is contained in:
Johanna Rührig 2025-01-01 23:00:50 +01:00 committed by GitHub
parent e2da06b52c
commit 79900ccb09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,7 +47,7 @@ function update_script() {
msg_info "Updating ${APP}" msg_info "Updating ${APP}"
cd "/opt/${APP}" cd "/opt/${APP}"
wget -q "https://github.com/Pf2eToolsOrg/Pf2eTools/archive/refs/tags/${RELEASE}.zip" wget -q "https://github.com/Pf2eToolsOrg/Pf2eTools/archive/refs/tags/${RELEASE}.zip"
unzip "${RELEASE}.zip" unzip -q "${RELEASE}.zip"
mv "${APP}-${RELEASE:1}" /opt/Pf2eTools mv "${APP}-${RELEASE:1}" /opt/Pf2eTools
echo "${RELEASE}" >/opt/${APP}_version.txt echo "${RELEASE}" >/opt/${APP}_version.txt
msg_ok "Updated ${APP}" msg_ok "Updated ${APP}"