Update smack recipe 84/22884/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 12 Jun 2014 09:25:41 +0000 (11:25 +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: Ia9257fdb90e708ed10ce810d8ada3686a9f73586
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/smack/smack.inc

index 1c8c1e3..f3d5b61 100644 (file)
@@ -115,6 +115,18 @@ do_install() {
  
 }
 
+pkg_postinst_libsmack() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
+pkg_postrm_libsmack() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
 PACKAGES += " libsmack "
 PACKAGES += " smack-docs "