aul-1: update recipe 38/25838/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Fri, 8 Aug 2014 09:26:12 +0000 (11:26 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 11 Aug 2014 07:50:30 +0000 (09:50 +0200)
New generated recipe: do not try to execute "systemctl daemon-reload"
when creating the image.

Change-Id: I6f26e1d55ab7ebcbbbed5854d52cb62ab1ec82bd
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/aul-1/aul-1.inc

index 9f06e57..61bd25e 100644 (file)
@@ -142,7 +142,7 @@ pkg_postinst_${PN}() {
     #!/bin/sh -e
 
     [ "x\$D" == "x" ] && ldconfig
-    systemctl daemon-reload
+    [ "x\$D" == "x" ] && systemctl daemon-reload
     if [ $1 == 1 ]; then
         systemctl restart launchpad-preload@5000.service
         systemctl restart ac.service
@@ -164,7 +164,7 @@ pkg_postrm_${PN}() {
     #!/bin/sh -e
 
     [ "x\$D" == "x" ] && ldconfig
-    systemctl daemon-reload
+    [ "x\$D" == "x" ] && systemctl daemon-reload
 
 }