From 69cbc1204787fe6fcd384abbc09f89b6074b8cb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20R=C3=BChrig?= Date: Wed, 1 Jan 2025 14:09:49 +0100 Subject: [PATCH] Debug. --- install/5etools-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/5etools-install.sh b/install/5etools-install.sh index dddda936..a45815e3 100644 --- a/install/5etools-install.sh +++ b/install/5etools-install.sh @@ -39,11 +39,11 @@ rm -rf /var/www/html RELEASE=$(curl -s https://api.github.com/repos/5etools-mirror-3/5etools-src/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') 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}" -ln -s "/opt/${APP}" /var/www/html +mv "5etools-src-${RELEASE}/" "/opt/5etools" +ln -s "/opt/5etools" /var/www/html -chown -R www-data: "/opt/${APP}" -chmod -R 755 "/opt/${APP}" +chown -R www-data: "/opt/5etools" +chmod -R 755 "/opt/5etools" # Cleaning up msg_info "Cleaning Up"