Update libhaptic recipe 54/22854/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 11 Jun 2014 10:23:40 +0000 (12:23 +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 recipe.

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

index 51fb6ec..db6ace9 100644 (file)
@@ -103,6 +103,18 @@ do_install() {
  
 }
 
+pkg_postinst_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
+pkg_postrm_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
 PACKAGES += " libhaptic-plugin-dev "
 
 libhaptic_files = ""