From 31a01a23a8a80358bed79d8c7107be1969864fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20R=C3=BChrig?= Date: Wed, 1 Jan 2025 22:07:38 +0100 Subject: [PATCH] Update Pf2eTools.sh --- ct/Pf2eTools.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ct/Pf2eTools.sh b/ct/Pf2eTools.sh index 44160562..eeca5847 100644 --- a/ct/Pf2eTools.sh +++ b/ct/Pf2eTools.sh @@ -47,7 +47,8 @@ function update_script() { msg_info "Updating ${APP}" cd "/opt/${APP}" wget -q "https://github.com/Pf2eToolsOrg/Pf2eTools/archive/refs/tags/${RELEASE}.zip" - unzip -j "${RELEASE}.zip" -d /opt/${APP} + unzip "${RELEASE}.zip" + mv "${APP}-${RELEASE}" /opt/Pf2eTools echo "${RELEASE}" >/opt/${APP}_version.txt msg_ok "Updated ${APP}"