wok diff x11vnc/receipt @ rev 18760

get-foxit-reader: depends on 'libcups', not 'cups'
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 29 20:38:21 2015 +0200 (2015-12-29)
parents 4f1b00a89af1
children 07b9976e5b71
line diff
     1.1 --- a/x11vnc/receipt	Mon Mar 30 12:09:11 2015 +0200
     1.2 +++ b/x11vnc/receipt	Tue Dec 29 20:38:21 2015 +0200
     1.3 @@ -36,12 +36,12 @@
     1.4  # Post install/remove commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	grep -q "^X11VNC" $1/etc/daemons.conf || cat >>$1/etc/daemons.conf <<EOT
     1.8 +	grep -q "^X11VNC" "$1/etc/daemons.conf" || cat >> "$1/etc/daemons.conf" <<EOT
     1.9  # VNC server options.
    1.10  X11VNC_OPTIONS="-rfbauth /etc/vnc.secret -auth /var/run/slim.auth -allow 10.,192.168.,127.0.0.1 -forever -loop -tightfilexfer -permitfiletransfer -display :0"
    1.11  
    1.12  EOT
    1.13 -	[ -f $1/etc/vnc.secret ] || 
    1.14 -	chroot $1/ x11vnc -storepasswd root /etc/vnc.secret
    1.15 +	[ -f "$1/etc/vnc.secret" ] || 
    1.16 +	chroot "$1/" x11vnc -storepasswd root /etc/vnc.secret
    1.17  }
    1.18