summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2009-08-22 13:53:20 +0000
committerVadim Kuznetsov <vadimk@gentoo.org>2009-08-22 13:53:20 +0000
commite4f5207c469e25544176b15ac67d73e88b7874a9 (patch)
tree50ac8757415a4ad30f028a0776a1b2cf24a38242 /app-emulation/vmware-workstation/vmware-workstation-6.5.3.185404.ebuild
parentVersion bump (diff)
downloadgentoo-2-e4f5207c469e25544176b15ac67d73e88b7874a9.tar.gz
gentoo-2-e4f5207c469e25544176b15ac67d73e88b7874a9.tar.bz2
gentoo-2-e4f5207c469e25544176b15ac67d73e88b7874a9.zip
Added pkg_prerm.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/vmware-workstation/vmware-workstation-6.5.3.185404.ebuild')
-rw-r--r--app-emulation/vmware-workstation/vmware-workstation-6.5.3.185404.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-emulation/vmware-workstation/vmware-workstation-6.5.3.185404.ebuild b/app-emulation/vmware-workstation/vmware-workstation-6.5.3.185404.ebuild
index 81536a323d35..5c6e207602a0 100644
--- a/app-emulation/vmware-workstation/vmware-workstation-6.5.3.185404.ebuild
+++ b/app-emulation/vmware-workstation/vmware-workstation-6.5.3.185404.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/app-emulation/vmware-workstation/vmware-workstation-6.5.3.185404.ebuild,v 1.1 2009/08/22 01:54:44 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/vmware-workstation-6.5.3.185404.ebuild,v 1.2 2009/08/22 13:53:20 vadimk Exp $
EAPI="2"
@@ -167,6 +167,11 @@ pkg_postinst() {
ewarn "You can do this by running 'emerge --config ${PN}'."
}
+pkg_prerm() {
+ einfo "Stopping ${product_name} for safe unmerge"
+ /etc/init.d/vmware stop
+}
+
pkg_postrm() {
fdo-mime_desktop_database_update
gnome2_icon_cache_update