Compare commits

...

2 Commits

Author SHA1 Message Date
tteckster
6bb46a5365
Update spoolman.sh
revert 9a17e03a38
2024-10-04 17:49:59 -04:00
tteckster
05062bab40
Update spoolman-install.sh
fixes https://github.com/tteck/Proxmox/issues/3840
2024-10-04 17:40:13 -04:00
2 changed files with 2 additions and 2 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 unzip -q spoolman.zip -d spoolman
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

View File

@ -39,7 +39,7 @@ msg_info "Installing Spoolman"
RELEASE=$(wget -q https://github.com/Donkie/Spoolman/releases/latest -O - | grep "title>Release" | cut -d " " -f 4) RELEASE=$(wget -q https://github.com/Donkie/Spoolman/releases/latest -O - | grep "title>Release" | cut -d " " -f 4)
cd /opt cd /opt
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 unzip -q spoolman.zip -d spoolman
rm -rf spoolman.zip rm -rf spoolman.zip
cd spoolman cd spoolman
$STD pip3 install -r requirements.txt $STD pip3 install -r requirements.txt