From eb1995908df17900e5e95a6c236ddbbf6c24e6a3 Mon Sep 17 00:00:00 2001 From: thepeople Date: Fri, 15 Aug 2008 04:13:21 +0000 Subject: [PATCH] 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(-) diff --git a/package/opkg/files/postinst b/package/opkg/files/postinst index 6aa8731ee..c2bb38187 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" -- 2.35.1