fix symlinks when installing opkg into a image
authorTravis Kemen <thepeople@openwrt.org>
Fri, 15 Aug 2008 04:13:21 +0000 (04:13 +0000)
committerTravis Kemen <thepeople@openwrt.org>
Fri, 15 Aug 2008 04:13:21 +0000 (04:13 +0000)
SVN-Revision: 12316

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"