mirror of https://github.com/hak5/openwrt.git
remove ipkg list file before creating a new one (for squashfs)
SVN-Revision: 614lede-17.01
parent
50aad380f5
commit
7cfe8d3c72
|
@ -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