download-provider: update recipe 40/25840/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Fri, 8 Aug 2014 09:34:54 +0000 (11:34 +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: Ib004acffcbf14de762d8690c80c973d2db94653a
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/download-provider/download-provider.inc

index 85497a9..2658898 100644 (file)
@@ -181,7 +181,7 @@ pkg_postrm_${PN}() {
     #!/bin/sh -e
 
     [ "x\$D" == "x" ] && ldconfig
-    /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : 
+    /usr/bin/[ "x\$D" == "x" ] && systemctl daemon-reload >/dev/null 2>&1 || : 
 
 }