summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hook-functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/hook-functions b/hook-functions
index bd9e06a..9d59dc1 100644
--- a/hook-functions
+++ b/hook-functions
@@ -147,6 +147,10 @@ copy_exec() {
fi
# Copy the dependant libraries
+ if ! command -v ldd >/dev/null 2>&1 ; then
+ echo "WARNING: no ldd around - install libc-bin"
+ exit 1
+ fi
for x in $(ldd ${source} 2>/dev/null | sed -e '
/\//!d;
/linux-gate/d;