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: hplip-2.7.10.ebuild ChangeLog hplip-2.7.12.ebuild hplip-2.7.12-r1.ebuild |
Date: | Mon, 14 Jan 2008 05:39:13 |
Message-Id: | 20080114053914.GA10860@comet |
1 | On 15:08 Sun 13 Jan , Denis Dupeyron (calchan) wrote: |
2 | > 1.1 net-print/hplip/hplip-2.7.12-r1.ebuild |
3 | > |
4 | > file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.7.12-r1.ebuild?rev=1.1&view=markup |
5 | > plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.7.12-r1.ebuild?rev=1.1&content-type=text/plain |
6 | |
7 | > pkg_setup() { |
8 | > if ! use ppds ; then |
9 | > ewarn "Not installing built-in PPD files, which is probably not what you want." |
10 | > ewarn "You need USE=ppds if you want to install them." |
11 | > fi |
12 | > if use minimal ; then |
13 | > ewarn "Installing hpijs driver only, make sure you know what you are doing." |
14 | > else |
15 | > use parport && linux-info_pkg_setup |
16 | > fi |
17 | > |
18 | > # avoid collisions with cups-1.2 compat symlinks |
19 | > if [ -e "${ROOT}"/usr/lib/cups/backend/hp ] && [ -e "${ROOT}"/usr/libexec/cups/backend/hp ]; then |
20 | > rm -f "${ROOT}"/usr/libexec/cups/backend/hp{,fax}; |
21 | > fi |
22 | |
23 | This deletion should probably happen in pkg_preinst() instead, so that a |
24 | compilation failure doesn't result in changes to the filesystem. |
25 | |
26 | Thanks, |
27 | Donnie |
28 | -- |
29 | gentoo-dev@l.g.o mailing list |
Subject | Author |
---|---|
[gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-print/hplip: hplip-2.7.10.ebuild ChangeLog hplip-2.7.12.ebuild hplip-2.7.12-r1.ebuild | Denis Dupeyron <calchan@g.o> |