remove ipkg list file before creating a new one (for squashfs)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@614 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2005-04-10 21:20:25 +00:00
parent a1a7f8bd3d
commit 4c9ad5abcc
1 changed files with 1 additions and 0 deletions

View File

@ -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