Compare commits

..

No commits in common. "87a8d9c2d81744ef9b426eb0c2e8fe9732bcc326" and "1ff0979cee23623ff750abd9b5a77e75fe4db85e" have entirely different histories.

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 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

@ -57,7 +57,6 @@ 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
} }

View File

@ -36,10 +36,11 @@ $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 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