diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-10-14 07:27:12 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-10-14 07:27:12 +0000 |
commit | 69f7ee18bc30378800c2bf9ee5f4ceb9fe3fc243 (patch) | |
tree | ffe29e3e60b83a1f14013f3871b89a2e3edc7653 /media-gfx | |
parent | make music optional at upstream request (bug #195447) (diff) | |
download | gentoo-2-69f7ee18bc30378800c2bf9ee5f4ceb9fe3fc243.tar.gz gentoo-2-69f7ee18bc30378800c2bf9ee5f4ceb9fe3fc243.tar.bz2 gentoo-2-69f7ee18bc30378800c2bf9ee5f4ceb9fe3fc243.zip |
Update installed printer queues automatically thanks to Bruce <halfcat@exemail.com.au> and Jon Severinsson <jon@severinsson.net> in bug 180957
(Portage version: 2.1.3.12)
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/gimp-print/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/gimp-print/gimp-print-5.1.3.ebuild | 11 |
2 files changed, 17 insertions, 2 deletions
diff --git a/media-gfx/gimp-print/ChangeLog b/media-gfx/gimp-print/ChangeLog index bae88536e9a0..f76d1bde774b 100644 --- a/media-gfx/gimp-print/ChangeLog +++ b/media-gfx/gimp-print/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/gimp-print # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.88 2007/10/10 19:08:45 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/ChangeLog,v 1.89 2007/10/14 07:27:12 genstef Exp $ + + 14 Oct 2007; Stefan Schweizer <genstef@gentoo.org> + gimp-print-5.1.3.ebuild: + Update installed printer queues automatically thanks to Bruce + <halfcat@exemail.com.au> and Jon Severinsson <jon@severinsson.net> in bug + 180957 10 Oct 2007; Stefan Schweizer <genstef@gentoo.org> -files/gimp-print-5.1.0-nonls.patch, -gimp-print-5.1.0.ebuild, diff --git a/media-gfx/gimp-print/gimp-print-5.1.3.ebuild b/media-gfx/gimp-print/gimp-print-5.1.3.ebuild index c9d1b05126c1..dfb97262557a 100644 --- a/media-gfx/gimp-print/gimp-print-5.1.3.ebuild +++ b/media-gfx/gimp-print/gimp-print-5.1.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/gimp-print-5.1.3.ebuild,v 1.2 2007/10/10 19:08:45 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimp-print/gimp-print-5.1.3.ebuild,v 1.3 2007/10/14 07:27:12 genstef Exp $ inherit flag-o-matic eutils multilib @@ -84,3 +84,12 @@ src_install () { rm -rf "${D}"/usr/include/gutenprintui2 fi } + +pkg_postinst() { + if [ "${ROOT}" == "/" ] && [ -x /usr/sbin/cups-genppdupdate.5.1 ]; then + elog "Updating installed printer ppd files" + elog $(/usr/sbin/cups-genppdupdate.5.1) + else + elog "You need to update installed ppds manually using cups-genppdupdate.5.1" + fi +} |