Skip to content

Commit

Permalink
Update system-update.sh
Browse files Browse the repository at this point in the history
fixed issue in if statement
  • Loading branch information
dpertierra authored Jul 13, 2024
1 parent 00fdd8c commit f0bdcaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/system-update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit f0bdcaf

Please sign in to comment.