On 05:34 Tue 15 Jan     , Rajiv Aaron Manglani (rajiv) wrote:
> 1.1                  net-misc/zaptel/zaptel-1.2.22.1-r1.ebuild
> 
> file : 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/zaptel/zaptel-1.2.22.1-r1.ebuild?rev=1.1&view=markup
> plain: 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-misc/zaptel/zaptel-1.2.22.1-r1.ebuild?rev=1.1&content-type=text/plain

>       # fix permissions if there's no udev around
>       if [[ -d ${D}/dev/zap ]]; then
>               chown -R root:dialout   ${D}/dev/zap
>               chmod -R u=rwX,g=rwX,o= ${D}/dev/zap
>       fi

You can check whether udev's around by looking for /dev/.udev -- that 
way you don't hack around with /dev files for no reason.

>       # fix permissions if there's no udev around
>       if [[ -d ${ROOT}dev/zap ]]; then
>               chown -R root:dialout   ${ROOT}dev/zap
>               chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap
>       fi
> }

And again..

Thanks,
Donnie
-- 
gentoo-dev@lists.gentoo.org mailing list

Reply via email to