mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "0d9316ae06662d5d58ad66d5392ef20974a7cd42" and "34b16c861e8714ae6795bd8ac4b895506942a5cf" have entirely different histories.
0d9316ae06
...
34b16c861e
|
@ -53,21 +53,7 @@ function default_settings() {
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
if [[ ! -d /opt/jellyseerr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /opt/jellyseerr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Updating $APP"
|
msg_error "There is currently no update path available."
|
||||||
systemctl stop jellyseerr
|
|
||||||
cd /opt/jellyseerr
|
|
||||||
output=$(git pull)
|
|
||||||
git pull &>/dev/null
|
|
||||||
if echo "$output" | grep -q "Already up to date."
|
|
||||||
then
|
|
||||||
msg_ok " $APP is already up to date."
|
|
||||||
systemctl start jellyseerr
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
yarn install &>/dev/null
|
|
||||||
yarn build &>/dev/null
|
|
||||||
systemctl start jellyseerr
|
|
||||||
msg_ok "Updated $APP"
|
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,21 +53,7 @@ function default_settings() {
|
||||||
function update_script() {
|
function update_script() {
|
||||||
header_info
|
header_info
|
||||||
if [[ ! -d /opt/overseerr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /opt/overseerr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Updating $APP"
|
msg_error "There is currently no update path available."
|
||||||
systemctl stop overseerr
|
|
||||||
cd /opt/overseerr
|
|
||||||
output=$(git pull)
|
|
||||||
git pull &>/dev/null
|
|
||||||
if echo "$output" | grep -q "Already up to date."
|
|
||||||
then
|
|
||||||
msg_ok " $APP is already up to date."
|
|
||||||
systemctl start overseerr
|
|
||||||
exit
|
|
||||||
fi
|
|
||||||
yarn install &>/dev/null
|
|
||||||
yarn build &>/dev/null
|
|
||||||
systemctl start overseerr
|
|
||||||
msg_ok "Updated $APP"
|
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue