Update pf2etools.sh

This commit is contained in:
Johanna Rührig 2025-01-03 23:38:27 +01:00 committed by GitHub
parent b76099d6ee
commit 96cbf9c587
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -51,8 +51,8 @@ function update_script() {
rm -rf "/opt/${APP}" rm -rf "/opt/${APP}"
mv "${APP}-${RELEASE:1}" "/opt/${APP}" mv "${APP}-${RELEASE:1}" "/opt/${APP}"
cd /opt/Pf2eTools cd /opt/Pf2eTools
npm i $STD npm install
npm run build $STD npm run build
cd ~ cd ~
echo "${RELEASE}" >"/opt/${APP}_version.txt" echo "${RELEASE}" >"/opt/${APP}_version.txt"
msg_ok "Updated ${APP}" msg_ok "Updated ${APP}"