Update 5etools-install.sh

This commit is contained in:
Johanna Rührig 2025-01-03 23:39:29 +01:00 committed by GitHub
parent 96cbf9c587
commit 0f9958f794
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -31,8 +31,8 @@ wget -q "https://github.com/5etools-mirror-3/5etools-src/archive/refs/tags/${REL
unzip -q "${RELEASE}.zip" unzip -q "${RELEASE}.zip"
mv "5etools-src-${RELEASE:1}" /opt/5etools mv "5etools-src-${RELEASE:1}" /opt/5etools
cd /opt/5etools cd /opt/5etools
npm i $STD npm install
npm run build $STD npm run build
cd ~ cd ~
echo "${RELEASE}" >"/opt/5etools_version.txt" echo "${RELEASE}" >"/opt/5etools_version.txt"
rm "${RELEASE}.zip" rm "${RELEASE}.zip"