Update Pf2eTools-install.sh

This commit is contained in:
Johanna Rührig 2025-01-01 22:09:10 +01:00 committed by GitHub
parent 34ce30e0a7
commit e2da06b52c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,7 @@ msg_info "Setup Pf2eTools"
RELEASE=$(curl -s https://api.github.com/repos/Pf2eToolsOrg/Pf2eTools/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
wget -q "https://github.com/Pf2eToolsOrg/Pf2eTools/archive/refs/tags/${RELEASE}.zip"
unzip "${RELEASE}.zip"
mv "Pf2eTools-${RELEASE}" /opt/Pf2eTools
mv "Pf2eTools-${RELEASE:1}" /opt/Pf2eTools
echo "${RELEASE}" >/opt/Pf2eTools_version.txt
msg_ok "Set up Pf2eTools"