From ae823d80c94865dc07745b52c89ce487317d7428 Mon Sep 17 00:00:00 2001 From: Rolf Leggewie Date: Sun, 14 Jun 2009 00:10:28 +0900 Subject: gpe-session-scripts: replace /usr/bin with ${bindir} in 0.67 * same as commit a729981b8a3e27e800078ccfd05249eef42b7ae4 --- recipes/gpe-session-scripts/gpe-session-scripts_0.67.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recipes') 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 -- cgit v1.2.3