summaryrefslogtreecommitdiff
path: root/packages/keylaunch
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2006-07-05 09:07:48 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-07-05 09:07:48 +0000
commitaaaa8c942eddaeb70b82b73301d7ac9daaffd002 (patch)
treefefff84487caaefd7a03199e82ee35a30a27cfe7 /packages/keylaunch
parent672942a9bc25ca3e85ebbe04bb17db60c999e85b (diff)
parentbd2c5704650c9bf4c6cbcfd080e0caa9a669c091 (diff)
merge of 27e5267a63cc6eabfebf01fa54915c4307784a99
and a4530adaede8ce3c1c526690dfd21618ecd54c72
Diffstat (limited to 'packages/keylaunch')
-rw-r--r--packages/keylaunch/keylaunch_2.0.10.bb15
1 files changed, 14 insertions, 1 deletions
diff --git a/packages/keylaunch/keylaunch_2.0.10.bb b/packages/keylaunch/keylaunch_2.0.10.bb
index 67ed0923f2..990de0cba7 100644
--- a/packages/keylaunch/keylaunch_2.0.10.bb
+++ b/packages/keylaunch/keylaunch_2.0.10.bb
@@ -13,7 +13,7 @@ DESCRIPTION = "A small utility for binding commands to a hot key.\
program is already running, keylaunch can bring its window to the front\
rather than just running another copy."
PACKAGE_ARCH = "${MACHINE_ARCH}"
-PR = "r5"
+PR = "r6"
SRC_URI += " file://keylaunchrc"
@@ -21,4 +21,17 @@ do_install_prepend () {
install ${WORKDIR}/keylaunchrc ${S}/keylaunchrc
}
+do_install_append() {
+ # yeah I know...this is less than ideal
+ mv ${D}/etc/keylaunchrc ${D}/etc/keylaunchrc.matchbox
+}
+
export CVSBUILD="no"
+
+pkg_postinst_${PN}() {
+ update-alternatives --install /etc/keylaunchrc keylaunchrc /etc/keylaunchrc.matchbox 10
+}
+
+pkg_postrm_${PN}() {
+ update-alternatives --remove keylaunchrc /etc/keylaunchrc.matchbox
+}