[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-dev
Subject: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-print/hplip:
From: Donnie Berkholz <dberkholz () gentoo ! org>
Date: 2007-09-30 21:08:55
Message-ID: 20070930210855.GL28813 () supernova
[Download RAW message or body]
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
--
gentoo-dev@gentoo.org mailing list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic