spk diff spk-add @ rev 121

spk-ls: small fix
author Christophe Lincoln <pankso@slitaz.org>
date Tue Sep 18 22:21:11 2012 +0200 (2012-09-18)
parents 37137af42a77
children f517bed65c0f
line diff
     1.1 --- a/spk-add	Sat Jun 02 17:58:18 2012 -0500
     1.2 +++ b/spk-add	Tue Sep 18 22:21:11 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