summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Bormolini <lordjoe@gentoo.org>2001-10-01 00:20:58 +0000
committerJoe Bormolini <lordjoe@gentoo.org>2001-10-01 00:20:58 +0000
commit33e29b542546969026e54b500ce79ed70aa503c0 (patch)
tree1ccb73de9e267f40725a49d5d72e03e6310a1008 /x11-misc/bbapm
parentwelcome the new eclass-howto! (diff)
downloadgentoo-2-33e29b542546969026e54b500ce79ed70aa503c0.tar.gz
gentoo-2-33e29b542546969026e54b500ce79ed70aa503c0.tar.bz2
gentoo-2-33e29b542546969026e54b500ce79ed70aa503c0.zip
doesn't put multiple entries in bin/wm now, new version of bbkeys as well
Diffstat (limited to 'x11-misc/bbapm')
-rw-r--r--x11-misc/bbapm/bbapm-0.0.1.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-misc/bbapm/bbapm-0.0.1.ebuild b/x11-misc/bbapm/bbapm-0.0.1.ebuild
index e79db2c219a2..5b14308b37bf 100644
--- a/x11-misc/bbapm/bbapm-0.0.1.ebuild
+++ b/x11-misc/bbapm/bbapm-0.0.1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Craig Joly <joly@ee.ualberta.ca>
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/bbapm/bbapm-0.0.1.ebuild,v 1.1 2001/08/30 22:04:52 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/bbapm/bbapm-0.0.1.ebuild,v 1.2 2001/10/01 00:20:58 lordjoe Exp $
S=${WORKDIR}/${P}
DESCRIPTION="blackbox advanced power management tool"
@@ -23,5 +23,7 @@ src_install () {
pkg_postinst() {
cd ${ROOT}usr/X11R6/bin/wm
+ if [ ! "`grep bbapm blackbox`" ] ; then
sed -e "s/.*blackbox/exec \/usr\/X11R6\/bin\/bbapm \&\n&/" blackbox | cat > blackbox
+ fi
}