mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-08 16:59:17 +00:00
Update Pf2eTools.sh
Fix update script
This commit is contained in:
parent
ba536127b3
commit
d06aeea8cb
@ -48,8 +48,9 @@ function update_script() {
|
||||
cd "/opt/${APP}"
|
||||
wget -q "https://github.com/Pf2eToolsOrg/Pf2eTools/archive/refs/tags/${RELEASE}.zip"
|
||||
unzip -q "${RELEASE}.zip"
|
||||
mv "${APP}-${RELEASE:1}" /opt/Pf2eTools
|
||||
echo "${RELEASE}" >/opt/${APP}_version.txt
|
||||
rm -rf "/opt/${APP}"
|
||||
mv "${APP}-${RELEASE:1}" "/opt/${APP}"
|
||||
echo "${RELEASE}" >"/opt/${APP}_version.txt"
|
||||
msg_ok "Updated ${APP}"
|
||||
|
||||
chown -R www-data: "/opt/${APP}"
|
||||
|
Loading…
Reference in New Issue
Block a user