public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-print/hplip: ChangeLog hplip-2.7.9.ebuild
       [not found] <E1IbzYk-0002ED-DR@stork.gentoo.org>
@ 2007-09-30 21:08 ` Donnie Berkholz
  0 siblings, 0 replies; only message in thread
From: Donnie Berkholz @ 2007-09-30 21:08 UTC (permalink / raw
  To: gentoo-dev, calchan

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-09-30 21:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1IbzYk-0002ED-DR@stork.gentoo.org>
2007-09-30 21:08 ` [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in net-print/hplip: ChangeLog hplip-2.7.9.ebuild Donnie Berkholz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox