Update libslp-sensor recipe 67/22867/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 11 Jun 2014 13:17:24 +0000 (15:17 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 16 Jun 2014 09:30:17 +0000 (11:30 +0200)
Add pre/post install/uninstall scripts.

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

index e12675d..4a24b41 100644 (file)
@@ -100,6 +100,18 @@ do_install() {
  
 }
 
+pkg_postinst_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
+pkg_postrm_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
 PACKAGES += " sensor "
 PACKAGES += " sensor-dev "