Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2012 09:18:41 -0400
From:      Michael Scheidell <scheidell@freebsd.org>
To:        <freebsd-ports@freebsd.org>
Subject:   Re: audio/squeezeboxserver - install error
Message-ID:  <4FA3D731.9000305@freebsd.org>
In-Reply-To: <CAJ_iqtbf-OYZTendRX=CyZwHQQuQj7sW1NyQY2o4zEJnmsCYAA@mail.gmail.com>
References:  <CAJ_iqtbf-OYZTendRX=CyZwHQQuQj7sW1NyQY2o4zEJnmsCYAA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On 5/4/12 9:06 AM, Torfinn Ingolfsen wrote:
>         if [ ! -f ${serverlogfile} ]; then
>                  touch ${serverlogfile}
>                  chown -H ${u}:${g} ${serverlogfile}
>          fi

        if [ ! -f ${serverlogfile} ]; then
                 touch ${serverlogfile} || ${MKDIR} /var/log/${name}
                 chown -H ${u}:${g} ${serverlogfile}
         fi

?

don't forget to make sure that pkg_add also works.
check pkg_delete also to make sure that pkg-plist removes it.


-- 
Michael Scheidell, CTO
 >*| * SECNAP Network Security Corporation
d: +1.561.948.2259
w: http://people.freebsd.org/~scheidell



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FA3D731.9000305>