From 980cf1cd93efc6d6f5e317f944f10e6d3e772e72 Mon Sep 17 00:00:00 2001 From: Travis Kemen Date: Fri, 15 Aug 2008 04:13:21 +0000 Subject: fix symlinks when installing opkg into a image git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12316 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/opkg/files/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'package/opkg/files') 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" -- cgit v1.2.3