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
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')
-rw-r--r--app-emulation/vmware-workstation/ChangeLog6
-rw-r--r--app-emulation/vmware-workstation/vmware-workstation-6.5.3.185404.ebuild7
2 files changed, 11 insertions, 2 deletions
diff --git a/app-emulation/vmware-workstation/ChangeLog b/app-emulation/vmware-workstation/ChangeLog
index 3e1784f0ae39..a20866e606f0 100644
--- a/app-emulation/vmware-workstation/ChangeLog
+++ b/app-emulation/vmware-workstation/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-emulation/vmware-workstation
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/ChangeLog,v 1.208 2009/08/22 01:54:44 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-workstation/ChangeLog,v 1.209 2009/08/22 13:53:20 vadimk Exp $
+
+ 22 Aug 2009; Vadim Kuznetsov vadimk@gentoo.org
+ vmware-workstation-6.5.3.185404.ebuild:
+ Added pkg_prerm for safe unmerge
*vmware-workstation-6.5.3.185404 (22 Aug 2009)
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