wok-6.x diff pcsc-lite/receipt @ rev 20000
Add: description.txt (again) | Rev: line-end.
author | Leonardo Laporte <hackdorte@yandex.com> |
---|---|
date | Sat Jul 29 08:04:42 2017 -0300 (2017-07-29) |
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 Sat Jul 29 08:04:42 2017 -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 }