summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2009-06-13 15:57:59 +0100
committerPhil Blundell <philb@gnu.org>2009-06-13 15:57:59 +0100
commita729981b8a3e27e800078ccfd05249eef42b7ae4 (patch)
tree493755bc61924e44f4f94d3c1eab7b8b993c776c
parentf1dc5457a0352369f41989ae58647f5b9e7e6b43 (diff)
gpe-session-scripts: respect ${bindir}
-rw-r--r--recipes/gpe-session-scripts/gpe-session-scripts_0.68.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/gpe-session-scripts/gpe-session-scripts_0.68.bb b/recipes/gpe-session-scripts/gpe-session-scripts_0.68.bb
index 5daf39c836..38bc9298ed 100644
--- a/recipes/gpe-session-scripts/gpe-session-scripts_0.68.bb
+++ b/recipes/gpe-session-scripts/gpe-session-scripts_0.68.bb
@@ -41,15 +41,15 @@ do_install_append() {
install -d ${D}${sysconfdir}/gpe/xsettings-default.d
install -m 0644 ${WORKDIR}/disable-composite.xsettings ${D}${sysconfdir}/gpe/xsettings-default.d/disable-composite
- mv ${D}/usr/bin/gpe-logout.sh ${D}/usr/bin/gpe-logout.sh.matchbox
+ mv ${D}${bindir}/gpe-logout.sh ${D}${bindir}/gpe-logout.sh.matchbox
}
pkg_postinst_${PN}() {
- update-alternatives --install /usr/bin/gpe-logout.sh gpe-logout.sh /usr/bin/gpe-logout.sh.matchbox 10
+ update-alternatives --install ${bindir}/gpe-logout.sh gpe-logout.sh ${bindir}/gpe-logout.sh.matchbox 10
}
pkg_postrm_${PN}() {
- update-alternatives --remove gpe-logout.sh /usr/bin/gpe-logout.sh.matchbox
+ update-alternatives --remove gpe-logout.sh ${bindir}/gpe-logout.sh.matchbox
}
# This makes use of GUI_MACHINE_CLASS, so set PACKAGE_ARCH appropriately