Fix version names.

This commit is contained in:
Johanna Rührig 2025-01-01 14:21:35 +01:00
parent e6c1e6cc47
commit 94dfe56d28

View File

@ -52,7 +52,7 @@ function update_script() {
# Execute Update
wget -q "https://github.com/5etools-mirror-3/5etools-src/archive/refs/tags/${RELEASE}.zip"
unzip -q "${RELEASE}.zip"
mv "${APP}-src-${RELEASE}/" "/opt/${APP}"
mv "${APP}-src-${RELEASE:1}/" "/opt/${APP}"
chown -R www-data: "/opt/${APP}"
chmod -R 755 "/opt/${APP}"