Update automated install/basic-install.sh

Co-authored-by: Dan Schaper <dan.schaper@pi-hole.net>
This commit is contained in:
spmfox 2022-04-17 14:52:05 -04:00 committed by GitHub
parent 2601162243
commit 9840148ba9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2216,7 +2216,7 @@ get_binary_name() {
local rev
rev=$(uname -m | sed "s/[^0-9]//g;")
local lib
lib=$(ldd /bin/bash | grep -E '^\s*/lib' | awk '{ print $1 }')
lib=$(ldd $(which sh) | grep -E '^\s*/lib' | awk '{ print $1 }')
if [[ "${lib}" == "/lib/ld-linux-aarch64.so.1" ]]; then
printf "%b %b Detected AArch64 (64 Bit ARM) processor\\n" "${OVER}" "${TICK}"
# set the binary to be used