wok diff pcsc-lite/receipt @ rev 19231

Add vmtouch
author Paul Issott <paul@slitaz.org>
date Fri Jun 24 19:59:40 2016 +0100 (2016-06-24)
parents 51a1ebbda768
children 8dd8bab3f0ca
line diff
     1.1 --- a/pcsc-lite/receipt	Fri Oct 18 19:43:55 2013 +0000
     1.2 +++ b/pcsc-lite/receipt	Fri Jun 24 19:59:40 2016 +0100
     1.3 @@ -40,11 +40,9 @@
     1.4  # Daemon options in: daemons.conf
     1.5  post_install()
     1.6  {
     1.7 -	local root
     1.8 -	root=$1
     1.9 -	if ! grep -q 'PCSCD_OPTIONS' $root/etc/daemons.conf; then
    1.10 -		echo '# PC/SC smart card daemon options.' >> $root/etc/daemons.conf
    1.11 -		echo 'PCSCD_OPTIONS=""' >> $root/etc/daemons.conf
    1.12 -		echo '' >> $root/etc/daemons.conf
    1.13 +	if ! grep -q 'PCSCD_OPTIONS' "$1/etc/daemons.conf"; then
    1.14 +		echo '# PC/SC smart card daemon options.' >> "$1/etc/daemons.conf"
    1.15 +		echo 'PCSCD_OPTIONS=""' >> "$1/etc/daemons.conf"
    1.16 +		echo '' >> "$1/etc/daemons.conf"
    1.17  	fi
    1.18  }