diff options
Diffstat (limited to 'meta/recipes-sato/shutdown-desktop')
-rw-r--r-- | meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb b/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb index 28d5096023..4bb896fc7b 100644 --- a/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb +++ b/meta/recipes-sato/shutdown-desktop/shutdown-desktop.bb | |||
@@ -15,7 +15,7 @@ do_install() { | |||
15 | sed -i ${D}${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)#Exec=${base_sbindir}/\1#' | 15 | sed -i ${D}${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)#Exec=${base_sbindir}/\1#' |
16 | } | 16 | } |
17 | 17 | ||
18 | pkg_postinst_${PN} () { | 18 | pkg_postinst:${PN} () { |
19 | grep -q qemuarm $D${sysconfdir}/hostname && \ | 19 | grep -q qemuarm $D${sysconfdir}/hostname && \ |
20 | sed -i $D${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)/halt#Exec=\1/reboot#' \ | 20 | sed -i $D${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)/halt#Exec=\1/reboot#' \ |
21 | || true | 21 | || true |