mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-09-21 20:05:48 +02:00
typo
This commit is contained in:
+4
-4
@@ -196,8 +196,8 @@ download_gpg_key() {
|
|||||||
debug_log "GPG key download attempt $attempt/$retries: $url"
|
debug_log "GPG key download attempt $attempt/$retries: $url"
|
||||||
|
|
||||||
if [[ "$mode" == "dearmor" ]]; then
|
if [[ "$mode" == "dearmor" ]]; then
|
||||||
if curl -fsSL --connect-timeout 10 --max-time "$timeout" "$url" 2>/dev/null | \
|
if curl -fsSL --connect-timeout 10 --max-time "$timeout" "$url" 2>/dev/null |
|
||||||
gpg --dearmor --yes -o "$output" 2>/dev/null; then
|
gpg --dearmor --yes -o "$output" 2>/dev/null; then
|
||||||
debug_log "GPG key installed: $output"
|
debug_log "GPG key installed: $output"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
@@ -3745,8 +3745,8 @@ function setup_mysql() {
|
|||||||
if [[ -n "$CURRENT_VERSION" ]]; then
|
if [[ -n "$CURRENT_VERSION" ]]; then
|
||||||
msg_info "Update MySQL $CURRENT_VERSION"
|
msg_info "Update MySQL $CURRENT_VERSION"
|
||||||
ensure_apt_working || return 1
|
ensure_apt_working || return 1
|
||||||
upgrade_packages_with_retry "default-mysql-server" "default-mysql-client" || \
|
upgrade_packages_with_retry "default-mysql-server" "default-mysql-client" ||
|
||||||
upgrade_packages_with_retry "mysql-server" "mysql-client" || \
|
upgrade_packages_with_retry "mysql-server" "mysql-client" ||
|
||||||
upgrade_packages_with_retry "mariadb-server" "mariadb-client" || {
|
upgrade_packages_with_retry "mariadb-server" "mariadb-client" || {
|
||||||
msg_error "Failed to upgrade MySQL/MariaDB packages"
|
msg_error "Failed to upgrade MySQL/MariaDB packages"
|
||||||
return 1
|
return 1
|
||||||
|
|||||||
Reference in New Issue
Block a user