diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-09-04 13:50:42 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-09-04 13:50:42 +0000 |
commit | d4fec7de488b27f35e8a3639586dc0d38451589b (patch) | |
tree | 321d5bba4fb43122a5cfe8a571c3f03099a910c8 /x11-drivers/ati-drivers | |
parent | removed unnecessary rev bump. (diff) | |
download | gentoo-2-d4fec7de488b27f35e8a3639586dc0d38451589b.tar.gz gentoo-2-d4fec7de488b27f35e8a3639586dc0d38451589b.tar.bz2 gentoo-2-d4fec7de488b27f35e8a3639586dc0d38451589b.zip |
Add preinst function. Fixes left behind fglrx.ko.
(Portage version: 2.2_rc38/cvs/Linux i686)
Diffstat (limited to 'x11-drivers/ati-drivers')
-rw-r--r-- | x11-drivers/ati-drivers/ChangeLog | 6 | ||||
-rw-r--r-- | x11-drivers/ati-drivers/ati-drivers-9.8.ebuild | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/x11-drivers/ati-drivers/ChangeLog b/x11-drivers/ati-drivers/ChangeLog index b3d710147d8e..a835b6774f8f 100644 --- a/x11-drivers/ati-drivers/ChangeLog +++ b/x11-drivers/ati-drivers/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-drivers/ati-drivers # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ChangeLog,v 1.181 2009/08/31 18:22:47 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ChangeLog,v 1.182 2009/09/04 13:50:42 scarabeus Exp $ + + 03 Sep 2009; Tomáš Chvátal <scarabeus@gentoo.org> + ati-drivers-9.8.ebuild: + Add preinst function. Fixes left behind fglrx.ko. 31 Aug 2009; Tomáš Chvátal <scarabeus@gentoo.org> ati-drivers-9.8.ebuild: diff --git a/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild b/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild index c9281a7bbc44..1708a3120706 100644 --- a/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild +++ b/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild,v 1.12 2009/08/31 18:22:47 scarabeus Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-drivers/ati-drivers/ati-drivers-9.8.ebuild,v 1.13 2009/09/04 13:50:42 scarabeus Exp $ EAPI="2" @@ -535,6 +535,10 @@ pkg_postinst() { "${ROOT}"/usr/bin/eselect opengl set --use-old ati } +pkg_preinst() { + use modules && linux-mod_pkg_preinst +} + pkg_prerm() { "${ROOT}"/usr/bin/eselect opengl set --use-old xorg-x11 } |