diff --git a/scripts/_common.sh b/scripts/_common.sh index ce2404a..18ae128 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -15,7 +15,7 @@ pkg_dependencies="postgresql postgresql-contrib" # ($YNH_ARCH returns armhf for both...) detect_arch(){ local architecture - if uname -m | grep -q "[arm64,aarch64]" ; then + if uname -m | grep -q -i -E "arm64|aarch64" ; then architecture="arm64" elif uname -m | grep -q "64" ; then architecture="x86-64"