diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-10 21:20:25 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-04-10 21:20:25 +0000 |
commit | 9b5678de39d5be37f814291c00015f1c5a638915 (patch) | |
tree | 69cd8b046d80afafabf8ed2fbb406ab02116f0d5 /target/default/target_skeleton | |
parent | 62f204e188672e6a63b19b6994d230da5c019953 (diff) |
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
Diffstat (limited to 'target/default/target_skeleton')
-rwxr-xr-x | target/default/target_skeleton/bin/ipkg | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/target/default/target_skeleton/bin/ipkg b/target/default/target_skeleton/bin/ipkg index c05c2d13e5..dd44dd609e 100755 --- a/target/default/target_skeleton/bin/ipkg +++ b/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 |