fix ipkg symlink issue on squashfs
[openwrt.git] / openwrt / target / default / target_skeleton / bin / ipkg
index c05c2d1..dd44dd6 100755 (executable)
@@ -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
This page took 0.023425 seconds and 4 git commands to generate.