On 14:14 Sun 30 Sep     , Denis Dupeyron (calchan) wrote:
> 1.1                  net-print/hplip/hplip-2.7.9.ebuild
> 
> file : 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.7.9.ebuild?rev=1.1&view=markup
> plain: 
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.7.9.ebuild?rev=1.1&content-type=text/plain

>       # avoid collisions with cups-1.2 compat symlinks
>       if [ -e ${ROOT}/usr/lib/cups/backend/hp ] && [ -e 
> ${ROOT}/usr/libexec/cups/backend/hp ]; then
>               rm -f ${ROOT}/usr/libexec/cups/backend/hp{,fax};
>       fi

> pkg_preinst() {
>       if ! use minimal && use scanner ; then
>               insinto /etc/sane.d
>               [ -e /etc/sane.d/dll.conf ] && cp /etc/sane.d/dll.conf .
>               [ -e ${ROOT}/etc/sane.d/dll.conf ] && cp 
> ${ROOT}/etc/sane.d/dll.conf .
>               grep -q hpaio dll.conf || echo hpaio >> dll.conf
>               doins dll.conf
>       fi
> }

ROOT quoting issues. Also curious about pkg_preinst() -- you start out 
ignoring ROOT, then rerun with ROOT? What's up with that?

Thanks,
Donnie
-- 
[EMAIL PROTECTED] mailing list

Reply via email to