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 6aa8731..c2bb381 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"