Ulrich Mueller wrote:
>       if ! $(grep 2010/tcp /etc/services >/dev/null 2>&1) ; then
>               cp /etc/services ${T}/services
>               cat >>${T}/services<<-EOF
>               ndtp            2010/tcp                        # Network 
> Dictionary Transfer Protocol
>               EOF
>               insinto /etc
>               doins ${T}/services
>       fi
> 
> Which leads me to the question: What is the recommended way to add a
> service to /etc/services?

Unless I'm mistaken, altering file that is owned by another package
(baselayout in this case) is not a good idea as it would invalidate file
checksum that Portage keeps. Why not add that line to
baselayout-provided file?

Cheers,
-jkt

-- 
cd /local/pub && more beer > /dev/mouth

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to