From 690ed99a916406b229597772237a7995e2afc10e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johanna=20R=C3=BChrig?= Date: Wed, 1 Jan 2025 23:15:32 +0100 Subject: [PATCH] Update 5etools-install.sh --- install/5etools-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/5etools-install.sh b/install/5etools-install.sh index ad92b11f..4254ef0c 100644 --- a/install/5etools-install.sh +++ b/install/5etools-install.sh @@ -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) }') -curl -sS "https://github.com/5etools-mirror-2/5etools-img/archive/refs/tags/${IMG_RELEASE}.zip" > "${IMG_RELEASE}.zip" +curl -sSL "https://github.com/5etools-mirror-2/5etools-img/archive/refs/tags/${IMG_RELEASE}.zip" > "${IMG_RELEASE}.zip" unzip -q "${IMG_RELEASE}.zip" mv "5etools-img-${IMG_RELEASE:1}" /opt/5etools/img echo "${IMG_RELEASE}" >"/opt/5etools_IMG_version.txt"