Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/pi-hole/pi-hole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspmfox <spmfox@foxwd.com>2022-04-16 23:25:33 +0300
committerspmfox <spmfox@foxwd.com>2022-04-16 23:46:07 +0300
commit2601162243028115768878f3bb0f5ec8fdde8393 (patch)
tree5b8178b26f07161044547c4b22d9fa4f22a969ab /automated install/basic-install.sh
parent9356d7bbb122f3c69fc97a2b3aff828944ef84d6 (diff)
Changed ldd binary check from /bin/ls to /usr/bin/bash
Signed-off-by: spmfox <spmfox@foxwd.com>
Diffstat (limited to 'automated install/basic-install.sh')
-rwxr-xr-xautomated install/basic-install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh
index e1683993..ced6ff2a 100755
--- a/automated install/basic-install.sh
+++ b/automated install/basic-install.sh
@@ -2216,7 +2216,7 @@ get_binary_name() {
local rev
rev=$(uname -m | sed "s/[^0-9]//g;")
local lib
- lib=$(ldd /bin/ls | grep -E '^\s*/lib' | awk '{ print $1 }')
+ lib=$(ldd /bin/bash | 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