Update spoolman-install.sh

fix install
This commit is contained in:
tteckster 2024-10-01 12:03:18 -04:00 committed by GitHub
parent 1ff0979cee
commit 015e8f4393
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,11 +36,10 @@ $STD apt-get install -y \
msg_ok "Installed Python3"
msg_info "Installing Spoolman"
cd /opt
RELEASE=$(wget -q https://github.com/Donkie/Spoolman/releases/latest -O - | grep "title>Release" | cut -d " " -f 4)
cd /opt
wget -q https://github.com/Donkie/Spoolman/releases/download/$RELEASE/spoolman.zip
unzip -q spoolman.zip -d spoolman
unzip -q spoolman.zip
rm -rf spoolman.zip
cd spoolman
$STD pip3 install -r requirements.txt