mirror of https://github.com/tteck/Proxmox.git
Compare commits
2 Commits
0665e77a1c
...
22e7ff1f17
Author | SHA1 | Date |
---|---|---|
tteckster | 22e7ff1f17 | |
tteckster | badff00ee2 |
|
@ -55,6 +55,10 @@ function default_settings() {
|
|||
function update_script() {
|
||||
header_info
|
||||
if [[ ! -d /opt/jellyseerr ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
if (( $(df /boot | awk 'NR==2{gsub("%","",$5); print $5}') > 80 )); then
|
||||
read -r -p "Warning: Storage is dangerously low, continue anyway? <y/N> " prompt
|
||||
[[ ${prompt,,} =~ ^(y|yes)$ ]] || exit
|
||||
fi
|
||||
whiptail --backtitle "Proxmox VE Helper Scripts" --msgbox --title "SET RESOURCES" "Please set the resources in your Jellyseerr LXC to 4vcpu and 4096RAM for the build process before continuing" 10 75
|
||||
if ! command -v pnpm &> /dev/null; then
|
||||
msg_error "pnpm not found. Installing..."
|
||||
|
@ -64,7 +68,7 @@ else
|
|||
fi
|
||||
msg_info "Updating $APP"
|
||||
cd /opt/jellyseerr
|
||||
output=$(git pull --no-rebase &>/dev/null)
|
||||
output=$(git pull --no-rebase)
|
||||
if echo "$output" | grep -q "Already up to date."
|
||||
then
|
||||
msg_ok "$APP is already up to date."
|
||||
|
|
Loading…
Reference in New Issue