wok-next diff muninlite/receipt @ rev 18925

description.txt should end with 0x0A byte (Carriage Return, Enter) to not glue with the next description in descriptions.txt.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Feb 25 15:02:38 2016 +0200 (2016-02-25)
parents bb009a6ef036
children b278b2018965
line diff
     1.1 --- a/muninlite/receipt	Sat Nov 30 15:44:51 2013 +0000
     1.2 +++ b/muninlite/receipt	Thu Feb 25 15:02:38 2016 +0200
     1.3 @@ -29,9 +29,9 @@
     1.4  # Pre and post install commands for Tazpkg.
     1.5  post_install()
     1.6  {
     1.7 -	grep -q 4949 $1/etc/services ||
     1.8 -	echo "munin		4949/tcp" >> $1/etc/services
     1.9 -	grep -q ^munin $1/etc/inetd.conf || cat >> $1/etc/inetd.conf <<EOT
    1.10 +	grep -q 4949 "$1/etc/services" ||
    1.11 +	echo "munin		4949/tcp" >> "$1/etc/services"
    1.12 +	grep -q ^munin "$1/etc/inetd.conf" || cat >> "$1/etc/inetd.conf" <<EOT
    1.13  munin   stream  tcp     nowait  root    /usr/bin/munin-node
    1.14  EOT
    1.15  	echo "/etc/inetd.conf is up to date"