diff --git a/ct/jellyseerr.sh b/ct/jellyseerr.sh index ed8e02960..695f16227 100644 --- a/ct/jellyseerr.sh +++ b/ct/jellyseerr.sh @@ -45,7 +45,10 @@ function update_script() { fi msg_info "Switching update script to Seerr" - sed -i 's|https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/jellyseerr.sh|https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seerr.sh|g' /usr/bin/update + cat </usr/bin/update +bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seerr.sh)" +EOF + chmod +x /usr/bin/update msg_ok "Switched update script to Seerr. Running update..." exec /usr/bin/update fi diff --git a/ct/overseerr.sh b/ct/overseerr.sh index 601cd541d..08357ff6f 100644 --- a/ct/overseerr.sh +++ b/ct/overseerr.sh @@ -44,7 +44,10 @@ function update_script() { fi msg_info "Switching update script to Seerr" - sed -i 's|https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/overseerr.sh|https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seerr.sh|g' /usr/bin/update + cat </usr/bin/update +bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seerr.sh)" +EOF + chmod +x /usr/bin/update msg_ok "Switched update script to Seerr. Running update..." exec /usr/bin/update fi