mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +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
|
# If for some reason DTYPE is still unknown use always arch so the rate-mirrors does not fail
|
||||||
local dtype_local=${DTYPE}
|
local dtype_local=${DTYPE}
|
||||||
if $DTYPE == "unknown"; then
|
if [ ${DTYPE} == "unknown" ]; then
|
||||||
dtype_local="arch"
|
dtype_local="arch"
|
||||||
fi
|
fi
|
||||||
sudo rate-mirrors --top-mirrors-number-to-retest=5 --disable-comments --save /etc/pacman.d/mirrorlist --allow-root ${dtype_local}
|
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