Update libslp-sysman recipe 68/22868/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Wed, 11 Jun 2014 13:18:31 +0000 (15:18 +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: I5dce7295577e1ebd4a0c9f31faff464c0cbc314e
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/libslp-sysman/libslp-sysman.inc

index 2752799..a0a8c74 100644 (file)
@@ -114,6 +114,18 @@ do_install() {
  
 }
 
+pkg_postinst_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
+pkg_postrm_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
 PACKAGES += " sysman-internal-dev "
 PACKAGES += " sysman-dev "
 PACKAGES += " sysman "