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: hplip-2.7.10.ebuild ChangeLog hplip-2.7.12.ebuild hplip-2.7.12-r1.ebuild
       [not found] <E1JE4Re-00027c-M0@stork.gentoo.org>
@ 2008-01-14  5:39 ` Donnie Berkholz
  2008-01-14  7:51   ` Denis Dupeyron
  0 siblings, 1 reply; 2+ messages in thread
From: Donnie Berkholz @ 2008-01-14  5:39 UTC (permalink / raw
  To: gentoo-dev, calchan

On 15:08 Sun 13 Jan     , Denis Dupeyron (calchan) wrote:
> 1.1                  net-print/hplip/hplip-2.7.12-r1.ebuild
> 
> file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-print/hplip/hplip-2.7.12-r1.ebuild?rev=1.1&view=markup
> 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

> pkg_setup() {
> 	if ! use ppds ; then
> 		ewarn "Not installing built-in PPD files, which is probably not what you want."
> 		ewarn "You need USE=ppds if you want to install them."
> 	fi
> 	if use minimal ; then
> 		ewarn "Installing hpijs driver only, make sure you know what you are doing."
> 	else
> 		use parport && linux-info_pkg_setup
> 	fi
> 
> 	# 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

This deletion should probably happen in pkg_preinst() instead, so that a 
compilation failure doesn't result in changes to the filesystem.

Thanks,
Donnie
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

* [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
  2008-01-14  5:39 ` [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 Donnie Berkholz
@ 2008-01-14  7:51   ` Denis Dupeyron
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Dupeyron @ 2008-01-14  7:51 UTC (permalink / raw
  To: Donnie Berkholz; +Cc: gentoo-dev

On Jan 14, 2008 6:39 AM, Donnie Berkholz <dberkholz@gentoo.org> wrote:
> On 15:08 Sun 13 Jan     , Denis Dupeyron (calchan) wrote:
> > 1.1                  net-print/hplip/hplip-2.7.12-r1.ebuild
> >       # 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
>
> This deletion should probably happen in pkg_preinst() instead, so that a
> compilation failure doesn't result in changes to the filesystem.

Good point, thanks. I changed it.

Denis.
-- 
gentoo-dev@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-14  7:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <E1JE4Re-00027c-M0@stork.gentoo.org>
2008-01-14  5:39 ` [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 Donnie Berkholz
2008-01-14  7:51   ` Denis Dupeyron

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