diff --git a/scripts/bootstrap-dev.sh b/scripts/bootstrap-dev.sh index a9293b3..67481ea 100755 --- a/scripts/bootstrap-dev.sh +++ b/scripts/bootstrap-dev.sh @@ -15,7 +15,7 @@ if true; then export LANG=en_US.UTF-8 export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH" - if ! curl --no-progress-meter file:/// &>/dev/null; then + if ! curl --no-progress-meter file:/// >/dev/null 2>&1; then echo "Your version of cURL is too old. This usually means your macOS is very out" echo "of date. Installing Asahi Linux requires at least macOS version 13.5." exit 1 diff --git a/scripts/bootstrap-prod.sh b/scripts/bootstrap-prod.sh index d3f4e61..a63b346 100755 --- a/scripts/bootstrap-prod.sh +++ b/scripts/bootstrap-prod.sh @@ -15,7 +15,7 @@ if true; then export LANG=en_US.UTF-8 export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH" - if ! curl --no-progress-meter file:/// &>/dev/null; then + if ! curl --no-progress-meter file:/// >/dev/null 2>&1; then echo "Your version of cURL is too old. This usually means your macOS is very out" echo "of date. Installing Asahi Linux requires at least macOS version 13.5." exit 1 diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index 3166fe4..fb002b8 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -15,7 +15,7 @@ if true; then export LANG=en_US.UTF-8 export PATH="/usr/bin:/bin:/usr/sbin:/sbin:$PATH" - if ! curl --no-progress-meter file:/// &>/dev/null; then + if ! curl --no-progress-meter file:/// >/dev/null 2>&1; then echo "Your version of cURL is too old. This usually means your macOS is very out" echo "of date. Installing Asahi Linux requires at least macOS version 13.5." exit 1