diff --git a/scripts/global/common-functions.sh b/scripts/global/common-functions.sh index 6b9572a..5f398cc 100644 --- a/scripts/global/common-functions.sh +++ b/scripts/global/common-functions.sh @@ -223,7 +223,6 @@ cleanup_duplicate_repos_pve9() { if grep -q "^deb.*$url_match" "$sources_file"; then sed -i "/^deb.*$url_match/s/^/# /" "$sources_file" cleaned_count=$((cleaned_count + 1)) - msg_info "$(translate "Commented $src lines in sources.list (using .sources format)")" fi fi @@ -232,7 +231,6 @@ cleanup_duplicate_repos_pve9() { if grep -q "^deb.*$url_match" "$list_file"; then sed -i "/^deb.*$url_match/s/^/# /" "$list_file" cleaned_count=$((cleaned_count + 1)) - msg_info "$(translate "Commented $src lines in $(basename "$list_file") (using .sources format)")" fi done fi diff --git a/scripts/global/update-pve.sh b/scripts/global/update-pve.sh index 500de79..2d89710 100644 --- a/scripts/global/update-pve.sh +++ b/scripts/global/update-pve.sh @@ -160,7 +160,6 @@ EOF cleanup_duplicate_repos - msg_info "$(translate "Updating package lists...")" update_output=$(apt-get update 2>&1) update_exit_code=$? @@ -186,7 +185,7 @@ EOF fi - msg_info "$(translate "Verifying Proxmox VE 9.x repositories...")" + if apt policy 2>/dev/null | grep -q "${TARGET_CODENAME}.*pve-no-subscription"; then msg_ok "$(translate "Proxmox VE 9.x repositories verified")" else