mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-27 07:21:59 +00:00
Compare commits
3 Commits
1ff0979cee
...
87a8d9c2d8
Author | SHA1 | Date | |
---|---|---|---|
|
87a8d9c2d8 | ||
|
9a17e03a38 | ||
|
015e8f4393 |
@ -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
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user