aboutsummaryrefslogtreecommitdiffstats
path: root/package/opkg/files
diff options
context:
space:
mode:
authorTravis Kemen <thepeople@openwrt.org>2008-08-15 04:13:21 +0000
committerTravis Kemen <thepeople@openwrt.org>2008-08-15 04:13:21 +0000
commit980cf1cd93efc6d6f5e317f944f10e6d3e772e72 (patch)
tree2fd43a5f1724a3de821c8d2f73bcae55c121a072 /package/opkg/files
parent26ed76587cc9d7ee5c3d94278e936a6b8cbc7057 (diff)
downloadupstream-980cf1cd93efc6d6f5e317f944f10e6d3e772e72.tar.gz
upstream-980cf1cd93efc6d6f5e317f944f10e6d3e772e72.tar.bz2
upstream-980cf1cd93efc6d6f5e317f944f10e6d3e772e72.zip
fix symlinks when installing opkg into a image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12316 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/opkg/files')
-rw-r--r--package/opkg/files/postinst4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/opkg/files/postinst b/package/opkg/files/postinst
index 6aa8731ee9..c2bb38187d 100644
--- a/package/opkg/files/postinst
+++ b/package/opkg/files/postinst
@@ -1,3 +1,3 @@
#!/bin/sh
-ln -sf "${IPKG_INSTROOT}/usr/lib/ipkg" "${IPKG_INSTROOT}/usr/lib/opkg"
-ln -sf "${IPKG_INSTROOT}/etc/ipkg.conf" "${IPKG_INSTROOT}/etc/opkg.conf"
+ln -sf "/usr/lib/ipkg" "${IPKG_INSTROOT}/usr/lib/opkg"
+ln -sf "/etc/ipkg.conf" "${IPKG_INSTROOT}/etc/opkg.conf"