mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-25 13:11:54 +02:00
remove ipkg list file before creating a new one (for squashfs)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@614 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
14e968e577
commit
7bdbdcac0a
@ -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 -))
|
(cd $IPKG_TMP/$pkg/data/; tar cf - . | (cd $owd; cd $dest; tar xf -))
|
||||||
rm -rf $IPKG_TMP/$pkg/data
|
rm -rf $IPKG_TMP/$pkg/data
|
||||||
rmdir $IPKG_TMP/$pkg
|
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
|
$pkg_extract_stdout $filename ./data.tar.gz | tar tzf - | sed -e 's/^\.//' > $info_dir/$pkg.list
|
||||||
|
|
||||||
if [ -x "$info_dir/$pkg.postinst" ]; then
|
if [ -x "$info_dir/$pkg.postinst" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user