mirror of https://github.com/tteck/Proxmox.git
Compare commits
3 Commits
1ff0979cee
...
87a8d9c2d8
Author | SHA1 | Date |
---|---|---|
tteckster | 87a8d9c2d8 | |
tteckster | 9a17e03a38 | |
tteckster | 015e8f4393 |
|
@ -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
|
||||||
|
|
|
@ -57,6 +57,7 @@ header_info
|
||||||
if [[ ! -f /usr/local/bin/whoogle-search ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -f /usr/local/bin/whoogle-search ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Updating ${APP} LXC"
|
msg_info "Updating ${APP} LXC"
|
||||||
pip3 install whoogle-search --upgrade &>/dev/null
|
pip3 install whoogle-search --upgrade &>/dev/null
|
||||||
|
systemctl restart whoogle.service
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated Successfully"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,11 +36,10 @@ $STD apt-get install -y \
|
||||||
msg_ok "Installed Python3"
|
msg_ok "Installed Python3"
|
||||||
|
|
||||||
msg_info "Installing Spoolman"
|
msg_info "Installing Spoolman"
|
||||||
cd /opt
|
|
||||||
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 -d spoolman
|
unzip -q spoolman.zip
|
||||||
rm -rf spoolman.zip
|
rm -rf spoolman.zip
|
||||||
cd spoolman
|
cd spoolman
|
||||||
$STD pip3 install -r requirements.txt
|
$STD pip3 install -r requirements.txt
|
||||||
|
|
Loading…
Reference in New Issue