summaryrefslogtreecommitdiffstats
path: root/package/opkg/files
diff options
context:
space:
mode:
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-15 04:13:21 +0000
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>2008-08-15 04:13:21 +0000
commiteb1995908df17900e5e95a6c236ddbbf6c24e6a3 (patch)
tree2fd43a5f1724a3de821c8d2f73bcae55c121a072 /package/opkg/files
parentd5249b218d6df367dea872e8a7ae215f5bd7c5cf (diff)
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 6aa8731ee..c2bb38187 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"