diff --git a/usr/bin/archboot-clock.sh b/usr/bin/archboot-clock.sh index 336314f7d..abfe7efa0 100755 --- a/usr/bin/archboot-clock.sh +++ b/usr/bin/archboot-clock.sh @@ -15,7 +15,7 @@ _hwclock() { _timezone () { _SET_ZONE="" if ping -c1 www.google.com &>/dev/null; then - _ZONE="$(curl -s http://ip-api.com/csv/?fields=timezone)" + _ZONE="$(curl -s "http://ip-api.com/csv/?fields=timezone")" _SET_ZONE=1 fi while [[ -z "${_SET_ZONE}" ]]; do diff --git a/usr/bin/archboot-pacsetup.sh b/usr/bin/archboot-pacsetup.sh index b0a815755..d4c855737 100755 --- a/usr/bin/archboot-pacsetup.sh +++ b/usr/bin/archboot-pacsetup.sh @@ -8,7 +8,7 @@ _select_mirror() { ## Download updated mirrorlist, if possible (only on x86_64) if [[ "${_RUNNING_ARCH}" == "x86_64" ]]; then _dialog --infobox "Downloading latest mirrorlist..." 3 40 - _COUNTRY="$(curl -s http://ip-api.com/csv/?fields=countryCode)" + _COUNTRY="$(curl -s "http://ip-api.com/csv/?fields=countryCode")" ${_DLPROG} "https://www.archlinux.org/mirrorlist/?country=${_COUNTRY}&protocol=https&ip_version=4&ip_version=6&use_mirror_status=on" -O /tmp/pacman_mirrorlist.txt if grep -q '#Server = https:' /tmp/pacman_mirrorlist.txt; then mv "${_MIRRORLIST}" "${_MIRRORLIST}.bak"