From f0bdcafefa45274f4426b8b6ce0c91a8182f512e Mon Sep 17 00:00:00 2001 From: Diego Pertierra Date: Sun, 14 Jul 2024 01:18:53 +0200 Subject: [PATCH] Update system-update.sh fixed issue in if statement --- src/commands/system-update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/system-update.sh b/src/commands/system-update.sh index b3b2c6ff..356cd421 100755 --- a/src/commands/system-update.sh +++ b/src/commands/system-update.sh @@ -80,7 +80,7 @@ fastUpdate() { # If for some reason DTYPE is still unknown use always arch so the rate-mirrors does not fail local dtype_local=${DTYPE} - if $DTYPE == "unknown"; then + if [ ${DTYPE} == "unknown" ]; then dtype_local="arch" fi sudo rate-mirrors --top-mirrors-number-to-retest=5 --disable-comments --save /etc/pacman.d/mirrorlist --allow-root ${dtype_local}