summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim Kuznetsov <vadimk@gentoo.org>2009-08-22 13:46:53 +0000
committerVadim Kuznetsov <vadimk@gentoo.org>2009-08-22 13:46:53 +0000
commit5e0f0b7a88486ad6cb3ae2e092c1a3ef1cbdec94 (patch)
tree3a85e4e33c5a360589207bee8cf9afffb77a6423 /app-emulation/vmware-player/vmware-player-2.5.3.185404.ebuild
parentVersion bump (diff)
downloadgentoo-2-5e0f0b7a88486ad6cb3ae2e092c1a3ef1cbdec94.tar.gz
gentoo-2-5e0f0b7a88486ad6cb3ae2e092c1a3ef1cbdec94.tar.bz2
gentoo-2-5e0f0b7a88486ad6cb3ae2e092c1a3ef1cbdec94.zip
Added pkg_prerm.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'app-emulation/vmware-player/vmware-player-2.5.3.185404.ebuild')
-rw-r--r--app-emulation/vmware-player/vmware-player-2.5.3.185404.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/app-emulation/vmware-player/vmware-player-2.5.3.185404.ebuild b/app-emulation/vmware-player/vmware-player-2.5.3.185404.ebuild
index b503f7d041ab..7bc1308d854c 100644
--- a/app-emulation/vmware-player/vmware-player-2.5.3.185404.ebuild
+++ b/app-emulation/vmware-player/vmware-player-2.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-player/vmware-player-2.5.3.185404.ebuild,v 1.1 2009/08/22 01:50:11 vadimk Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emulation/vmware-player/vmware-player-2.5.3.185404.ebuild,v 1.2 2009/08/22 13:46:53 vadimk Exp $
EAPI="2"
@@ -157,6 +157,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