mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-03-06 10:55:56 +01:00
Compare commits
3 Commits
add-script
...
fix/seerr-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bbdbe1a279 | ||
|
|
1ba967dd81 | ||
|
|
d6b86ebbf3 |
@@ -45,14 +45,15 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Switching update script to Seerr"
|
msg_info "Switching update script to Seerr"
|
||||||
cat <<'EOF' >/usr/bin/update
|
TMP_UPDATE=$(mktemp)
|
||||||
#!/usr/bin/env bash
|
cat <<'EOF' >"$TMP_UPDATE"
|
||||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seerr.sh)"
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seerr.sh)"
|
||||||
EOF
|
EOF
|
||||||
|
mv "$TMP_UPDATE" /usr/bin/update
|
||||||
chmod +x /usr/bin/update
|
chmod +x /usr/bin/update
|
||||||
msg_ok "Switched update script to Seerr"
|
msg_ok "Switched update script to Seerr"
|
||||||
msg_warn "Please type 'update' again to complete the migration"
|
msg_warn "Please type 'update' again to complete the migration"
|
||||||
exit
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Updating Jellyseerr"
|
msg_info "Updating Jellyseerr"
|
||||||
|
|||||||
@@ -44,10 +44,11 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Switching update script to Seerr"
|
msg_info "Switching update script to Seerr"
|
||||||
cat <<'EOF' >/usr/bin/update
|
TMP_UPDATE=$(mktemp)
|
||||||
#!/usr/bin/env bash
|
cat <<'EOF' >"$TMP_UPDATE"
|
||||||
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seerr.sh)"
|
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/seerr.sh)"
|
||||||
EOF
|
EOF
|
||||||
|
mv "$TMP_UPDATE" /usr/bin/update
|
||||||
chmod +x /usr/bin/update
|
chmod +x /usr/bin/update
|
||||||
msg_ok "Switched update script to Seerr"
|
msg_ok "Switched update script to Seerr"
|
||||||
msg_warn "Please type 'update' again to complete the migration"
|
msg_warn "Please type 'update' again to complete the migration"
|
||||||
|
|||||||
Reference in New Issue
Block a user