Update audio-session-management recipe 80/22880/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 12 Jun 2014 09:07:40 +0000 (11:07 +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: I0d1459664633c5a58ed64df83abd8b87a12dda6c
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/audio-session-manager/audio-session-manager.inc

index 4199001..9ec0a71 100644 (file)
@@ -139,6 +139,20 @@ do_install() {
  
 }
 
+pkg_postinst_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+    vconftool set -t int memory/Sound/SoundStatus "0" -g 29 -f -i
+
+}
+
+pkg_postrm_${PN}() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
 PACKAGES += " audio-session-manager-sdk-dev "
 
 audio-session-manager-dev_files = ""