Compare commits

..

3 Commits

Author SHA1 Message Date
tteckster 87a8d9c2d8
Update whoogle.sh
fixes https://github.com/tteck/Proxmox/issues/3810
2024-10-01 12:15:09 -04:00
tteckster 9a17e03a38
Update spoolman.sh
fix upgrade
2024-10-01 12:08:50 -04:00
tteckster 015e8f4393
Update spoolman-install.sh
fix install
2024-10-01 12:03:18 -04:00
3 changed files with 3 additions and 3 deletions

View File

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

View File

@ -57,6 +57,7 @@ header_info
if [[ ! -f /usr/local/bin/whoogle-search ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP} LXC"
pip3 install whoogle-search --upgrade &>/dev/null
systemctl restart whoogle.service
msg_ok "Updated Successfully"
exit
}

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