Update spoolman.sh

fix upgrade
This commit is contained in:
tteckster 2024-10-01 12:08:50 -04:00 committed by GitHub
parent 015e8f4393
commit 9a17e03a38
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
rm -rf spoolman_bak rm -rf spoolman_bak
mv spoolman spoolman_bak mv spoolman spoolman_bak
wget -q https://github.com/Donkie/Spoolman/releases/download/${RELEASE}/spoolman.zip wget -q https://github.com/Donkie/Spoolman/releases/download/${RELEASE}/spoolman.zip
unzip -q spoolman.zip -d spoolman unzip -q spoolman.zip
cd spoolman cd spoolman
pip3 install -r requirements.txt >/dev/null 2>&1 pip3 install -r requirements.txt >/dev/null 2>&1
wget -q https://raw.githubusercontent.com/Donkie/Spoolman/master/.env.example -O .env wget -q https://raw.githubusercontent.com/Donkie/Spoolman/master/.env.example -O .env