summaryrefslogtreecommitdiff
path: root/package
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
commite7c9479ae4856a3b8b6b6e62a22489a039f26c4f (patch)
tree15c0a3d1496c347e7f249fc71a6e20a38ca904e2 /package
parent38d1cb8cbd0945ca30bec4c8f12868f105758834 (diff)
downloadmtk-20170518-e7c9479ae4856a3b8b6b6e62a22489a039f26c4f.zip
mtk-20170518-e7c9479ae4856a3b8b6b6e62a22489a039f26c4f.tar.gz
mtk-20170518-e7c9479ae4856a3b8b6b6e62a22489a039f26c4f.tar.bz2
fix symlinks when installing opkg into a image
SVN-Revision: 12316
Diffstat (limited to 'package')
-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 6aa8731..c2bb381 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"