mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 21:30:41 +00:00
+4
-1
@@ -45,7 +45,10 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Switching update script to Seerr"
|
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 <<EOF >/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..."
|
msg_ok "Switched update script to Seerr. Running update..."
|
||||||
exec /usr/bin/update
|
exec /usr/bin/update
|
||||||
fi
|
fi
|
||||||
|
|||||||
+4
-1
@@ -44,7 +44,10 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Switching update script to Seerr"
|
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 <<EOF >/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..."
|
msg_ok "Switched update script to Seerr. Running update..."
|
||||||
exec /usr/bin/update
|
exec /usr/bin/update
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user