From: Travis Kemen Date: Fri, 15 Aug 2008 04:13:21 +0000 (+0000) Subject: fix symlinks when installing opkg into a image X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e7c9479ae4856a3b8b6b6e62a22489a039f26c4f;p=openwrt%2Fstaging%2Fkaloz.git fix symlinks when installing opkg into a image SVN-Revision: 12316 --- diff --git a/package/opkg/files/postinst b/package/opkg/files/postinst index 6aa8731ee9..c2bb38187d 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"