mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-16 12:31:18 +02:00
Stop spinner for deleted/disabled info messages
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
+1
-1
@@ -279,7 +279,7 @@ color
|
||||
|
||||
msg_error "This script is no longer available in community-scripts."
|
||||
msg_error "${deletedMessage.replace(/"/g, '\\"')}"
|
||||
msg_info "More info: https://community-scripts.org/scripts/${slug}"
|
||||
msg_warn "More info: https://community-scripts.org/scripts/${slug}"
|
||||
exit 1
|
||||
`;
|
||||
fs.writeFileSync(stubPath, content);
|
||||
|
||||
+1
-1
@@ -11,5 +11,5 @@ color
|
||||
|
||||
msg_error "This script is no longer available in community-scripts."
|
||||
msg_error "This script was removed and cannot be installed or updated."
|
||||
msg_info "More info: https://community-scripts.org/scripts/ente"
|
||||
msg_warn "More info: https://community-scripts.org/scripts/ente"
|
||||
exit 1
|
||||
|
||||
+1
-1
@@ -11,5 +11,5 @@ color
|
||||
|
||||
msg_error "This script is no longer available in community-scripts."
|
||||
msg_error "This script was removed and cannot be installed or updated."
|
||||
msg_info "More info: https://community-scripts.org/scripts/litellm"
|
||||
msg_warn "More info: https://community-scripts.org/scripts/litellm"
|
||||
exit 1
|
||||
|
||||
+1
-1
@@ -11,5 +11,5 @@ color
|
||||
|
||||
msg_error "This script is no longer available in community-scripts."
|
||||
msg_error "Repository is archived. Minio is gone"
|
||||
msg_info "More info: https://community-scripts.org/scripts/minio"
|
||||
msg_warn "More info: https://community-scripts.org/scripts/minio"
|
||||
exit 1
|
||||
|
||||
+2
-2
@@ -3677,7 +3677,7 @@ runtime_script_status_guard() {
|
||||
msg_error "This script is no longer available in community-scripts."
|
||||
[[ -n "$deleted_message" ]] && msg_error "$deleted_message"
|
||||
[[ -z "$deleted_message" ]] && msg_error "This script was removed and cannot be installed or updated."
|
||||
msg_info "More info: ${info_url}"
|
||||
msg_warn "More info: ${info_url}"
|
||||
return 1
|
||||
fi
|
||||
|
||||
@@ -3685,7 +3685,7 @@ runtime_script_status_guard() {
|
||||
msg_error "This script is currently disabled in community-scripts."
|
||||
[[ -n "$disable_message" ]] && msg_error "$disable_message"
|
||||
[[ -z "$disable_message" ]] && msg_error "Updates and installs are temporarily disabled for this script."
|
||||
msg_info "More info: ${info_url}"
|
||||
msg_warn "More info: ${info_url}"
|
||||
return 1
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user