fix symlinks when installing opkg into a image
authorthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 15 Aug 2008 04:13:21 +0000 (04:13 +0000)
committerthepeople <thepeople@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 15 Aug 2008 04:13:21 +0000 (04:13 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12316 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/opkg/files/postinst

index 6aa8731ee9da13fa8bb15332290c709194139340..c2bb38187d6ab599a655c0afbb7f803a44cf0535 100644 (file)
@@ -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"