Update location-manager recipe 64/22864/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 11 Jun 2014 13:02:49 +0000 (15:02 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 16 Jun 2014 09:30:16 +0000 (11:30 +0200)
Add pre/post install/uninstall scripts.

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

index 9c60806..6fff9bc 100644 (file)
@@ -101,6 +101,18 @@ do_install() {
  
 }
 
+pkg_postinst_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
+pkg_postrm_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
 PACKAGES += " capi-location-manager-dev "
 PACKAGES += " capi-location-manager "