wok diff xtel/receipt @ rev 18730

Quote root dir in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 20 15:13:45 2015 +0100 (2015-12-20)
parents 408c87fa22ca
children 8ccb9346661c
line diff
     1.1 --- a/xtel/receipt	Sat Aug 10 17:48:05 2013 +0000
     1.2 +++ b/xtel/receipt	Sun Dec 20 15:13:45 2015 +0100
     1.3 @@ -48,10 +48,10 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	grep -qs ^xtel $1/etc/services || cat >> $1/etc/services <<EOT
     1.8 +	grep -qs ^xtel "$1/etc/services" || cat >> "$1/etc/services" <<EOT
     1.9  xtel		1313/tcp				# French minitel
    1.10  EOT
    1.11 -	grep -qs ^xtel $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <<EOT
    1.12 +	grep -qs ^xtel "$1/etc/inetd.conf" || cat >> "$1/etc/inetd.conf" <<EOT
    1.13  xtel	stream	tcp	nowait	root	/usr/bin/xteld	xteld
    1.14  EOT
    1.15  	chroot "$1/" /usr/bin/install_iminitel