wok diff pcsc-lite/receipt @ rev 19438

Up libpng (1.2.56)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sun Oct 09 20:18:25 2016 +0300 (2016-10-09)
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	Sun Oct 09 20:18:25 2016 +0300
     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  }