From: | Donnie Berkholz <dberkholz@g.o> |
---|---|
To: | gentoo-dev@l.g.o, calchan@g.o |
Subject: | [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-print/hplip: ChangeLog hplip-2.7.9.ebuild |
Date: | Sun, 30 Sep 2007 21:22:45 |
Message-Id: | 20070930210855.GL28813@supernova |
1 | On 14:14 Sun 30 Sep , Denis Dupeyron (calchan) wrote: |
2 | > 1.1 net-print/hplip/hplip-2.7.9.ebuild |
3 | > |
4 | > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.7.9.ebuild?rev=1.1&view=markup |
5 | > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.7.9.ebuild?rev=1.1&content-type=text/plain |
6 | |
7 | > # avoid collisions with cups-1.2 compat symlinks |
8 | > if [ -e ${ROOT}/usr/lib/cups/backend/hp ] && [ -e ${ROOT}/usr/libexec/cups/backend/hp ]; then |
9 | > rm -f ${ROOT}/usr/libexec/cups/backend/hp{,fax}; |
10 | > fi |
11 | |
12 | > pkg_preinst() { |
13 | > if ! use minimal && use scanner ; then |
14 | > insinto /etc/sane.d |
15 | > [ -e /etc/sane.d/dll.conf ] && cp /etc/sane.d/dll.conf . |
16 | > [ -e ${ROOT}/etc/sane.d/dll.conf ] && cp ${ROOT}/etc/sane.d/dll.conf . |
17 | > grep -q hpaio dll.conf || echo hpaio >> dll.conf |
18 | > doins dll.conf |
19 | > fi |
20 | > } |
21 | |
22 | ROOT quoting issues. Also curious about pkg_preinst() -- you start out |
23 | ignoring ROOT, then rerun with ROOT? What's up with that? |
24 | |
25 | Thanks, |
26 | Donnie |
27 | -- |
28 | gentoo-dev@g.o mailing list |