summaryrefslogtreecommitdiff
path: root/openwrt/target/default/target_skeleton/bin
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-04-10 21:20:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-04-10 21:20:25 +0000
commit7cfe8d3c72709817a462ae1e10837c0d5bac8412 (patch)
tree59dcd65a72388e907d3fcc3328ae2683cb32766a /openwrt/target/default/target_skeleton/bin
parent50aad380f56582030dcceb6441dfc9581c40130a (diff)
downloadmtk-20170518-7cfe8d3c72709817a462ae1e10837c0d5bac8412.zip
mtk-20170518-7cfe8d3c72709817a462ae1e10837c0d5bac8412.tar.gz
mtk-20170518-7cfe8d3c72709817a462ae1e10837c0d5bac8412.tar.bz2
remove ipkg list file before creating a new one (for squashfs)
SVN-Revision: 614
Diffstat (limited to 'openwrt/target/default/target_skeleton/bin')
-rwxr-xr-xopenwrt/target/default/target_skeleton/bin/ipkg1
1 files changed, 1 insertions, 0 deletions
diff --git a/openwrt/target/default/target_skeleton/bin/ipkg b/openwrt/target/default/target_skeleton/bin/ipkg
index c05c2d1..dd44dd6 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