summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorgraham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-19 22:02:25 (EST)
committer graham.gower <graham.gower@e8e0d7a0-c8d9-11dd-a880-a1081c7ac358>2009-11-19 22:02:25 (EST)
commit7266416702d6d83cd1a2bc3a7b3e579d711c83df (patch)
tree42d69705418e6b9d88be3ddb1547d2b443a6797d /utils
parenta6d79aecf9bb27c27e3f9fbef544e190592f24b7 (diff)
Respect the --with-opkglibdir configure switch in update-alternatives.
From John L. Chmielewski <jlcster@gmail.com>. git-svn-id: http://opkg.googlecode.com/svn/trunk@342 e8e0d7a0-c8d9-11dd-a880-a1081c7ac358
Diffstat (limited to 'utils')
-rw-r--r--[-rwxr-xr-x]utils/update-alternatives.in (renamed from utils/update-alternatives)2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/update-alternatives b/utils/update-alternatives.in
index 4983e19..a49cc09 100755..100644
--- a/utils/update-alternatives
+++ b/utils/update-alternatives.in
@@ -21,7 +21,7 @@
set -e
# admin dir
-ad="$OPKG_OFFLINE_ROOT/usr/lib/opkg/alternatives"
+ad="$OPKG_OFFLINE_ROOT@opkglibdir@/opkg/alternatives"
usage() {
echo "update-alternatives: $*