From 7cfe8d3c72709817a462ae1e10837c0d5bac8412 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 10 Apr 2005 21:20:25 +0000 Subject: [PATCH] remove ipkg list file before creating a new one (for squashfs) SVN-Revision: 614 --- openwrt/target/default/target_skeleton/bin/ipkg | 1 + 1 file changed, 1 insertion(+) diff --git a/openwrt/target/default/target_skeleton/bin/ipkg b/openwrt/target/default/target_skeleton/bin/ipkg index c05c2d13e5..dd44dd609e 100755 --- a/openwrt/target/default/target_skeleton/bin/ipkg +++ b/openwrt/target/default/target_skeleton/bin/ipkg @@ -874,6 +874,7 @@ diff -u $dest/$conffile $IPKG_TMP/$pkg/data/$conffile" (cd $IPKG_TMP/$pkg/data/; tar cf - . | (cd $owd; cd $dest; tar xf -)) rm -rf $IPKG_TMP/$pkg/data rmdir $IPKG_TMP/$pkg + rm -f $info_dir/$pkg.list $pkg_extract_stdout $filename ./data.tar.gz | tar tzf - | sed -e 's/^\.//' > $info_dir/$pkg.list if [ -x "$info_dir/$pkg.postinst" ]; then