summaryrefslogtreecommitdiff
path: root/recipes/gpe-session-scripts
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2009-06-14 00:10:28 +0900
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2009-06-14 00:48:37 +0900
commitae823d80c94865dc07745b52c89ce487317d7428 (patch)
tree381aced39f04c0f54e45a6793d9527d153e90e88 /recipes/gpe-session-scripts
parenta729981b8a3e27e800078ccfd05249eef42b7ae4 (diff)
gpe-session-scripts: replace /usr/bin with ${bindir} in 0.67
* same as commit a729981b8a3e27e800078ccfd05249eef42b7ae4
Diffstat (limited to 'recipes/gpe-session-scripts')
-rw-r--r--recipes/gpe-session-scripts/gpe-session-scripts_0.67.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes/gpe-session-scripts/gpe-session-scripts_0.67.bb b/recipes/gpe-session-scripts/gpe-session-scripts_0.67.bb
index bab26e7df0..979ed5aa8a 100644
--- a/recipes/gpe-session-scripts/gpe-session-scripts_0.67.bb
+++ b/recipes/gpe-session-scripts/gpe-session-scripts_0.67.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 ${D}/usr/bin/gpe-logout.matchbox
+ mv ${D}${bindir}gpe-logout ${D}${bindir}gpe-logout.matchbox
}
pkg_postinst_${PN}() {
- update-alternatives --install /usr/bin/gpe-logout gpe-logout /usr/bin/gpe-logout.matchbox 10
+ update-alternatives --install ${bindir}gpe-logout gpe-logout ${bindir}gpe-logout.matchbox 10
}
pkg_postrm_${PN}() {
- update-alternatives --remove gpe-logout /usr/bin/gpe-logout.matchbox
+ update-alternatives --remove gpe-logout ${bindir}gpe-logout.matchbox
}
# This makes use of GUI_MACHINE_CLASS, so set PACKAGE_ARCH appropriately