mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-12-23 20:09:44 +00:00
Update system-update.sh
fixed issue in if statement
This commit is contained in:
parent
00fdd8cd07
commit
f0bdcafefa
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user