From d87c0e6e41659025020e442de6e6faea35e14e20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20R=C3=BChrig?= Date: Wed, 1 Jan 2025 21:51:35 +0100 Subject: [PATCH] Update 5etools-install.sh --- install/5etools-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/5etools-install.sh b/install/5etools-install.sh index 7314e5ed..fcfd8699 100644 --- a/install/5etools-install.sh +++ b/install/5etools-install.sh @@ -27,7 +27,7 @@ msg_ok "Installed Dependencies" msg_info "Set up base 5etools" 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 "${RELEASE}.zip" -d "/opt/${APP}" +unzip -j "${RELEASE}.zip" -d "/opt/${APP}" echo "${RELEASE}" >"/opt/${APP}_version.txt" rm "${RELEASE}.zip" msg_ok "Set up base 5etools" @@ -35,7 +35,7 @@ msg_ok "Set up base 5etools" msg_info "Set up 5etools images" IMG_RELEASE=$(curl -s https://api.github.com/repos/5etools-mirror-2/5etools-img/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') wget -q "https://github.com/5etools-mirror-2/5etools-img/archive/refs/tags/${IMG_RELEASE}.zip" -unzip "${IMG_RELEASE}.zip" -d "/opt/${APP}/img" +unzip -j "${IMG_RELEASE}.zip" -d "/opt/${APP}/img" echo "${IMG_RELEASE}" >"/opt/${APP}_IMG_version.txt" rm "${IMG_RELEASE}.zip" msg_ok "Set up 5etools images"