summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-25 13:18:00 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-25 13:18:00 +0000
commit1f3c06bc20b2ee67076db0e32403fafe36726cf1 (patch)
treef6df678ff8f626c330de776ebdd28a8e5af3467f
parente674fb8346343dcb05c3fdf9542cd6b776d58e39 (diff)
downloadalpine-conf-1f3c06bc20b2ee67076db0e32403fafe36726cf1.zip
search for libalpine.sh in /lib too
-rw-r--r--lbu3
1 files changed, 3 insertions, 0 deletions
diff --git a/lbu b/lbu
index 266897d..e26094f 100644
--- a/lbu
+++ b/lbu
@@ -8,6 +8,9 @@ VERSION=1.2
if [ ! -f ${libalpine:="./libalpine.sh"} ]; then
libalpine=/usr/share/lbu/libalpine.sh
+ if [ ! -f "$libalpine" ]; then
+ libalpine=/lib/libalpine.sh
+ fi
fi
. $libalpine || exit 1