spk rev 120
spk-add: fix old file to remove
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Sep 18 22:12:40 2012 +0200 (2012-09-18) |
parents | 3a0622618b10 |
children | a78d26cd3178 |
files | spk-add |
line diff
1.1 --- a/spk-add Sun Jul 01 19:29:58 2012 +0200 1.2 +++ b/spk-add Tue Sep 18 22:12:40 2012 +0200 1.3 @@ -226,7 +226,9 @@ 1.4 if [ "$verbose" ]; then 1.5 gettext "Removing:"; echo " ${root}${file}" 1.6 fi 1.7 - remove_with_path ${root}${file} 1.8 + #remove_file ${root}${file} 1.9 + rm -f ${root}${file} 2>/dev/null 1.10 + rmdir ${root}${file} 2> /dev/null 1.11 done 1.12 status 1.13 fi