diff options
author | Ronan Le Martret <ronan@fridu.net> | 2014-10-16 10:32:50 +0200 |
---|---|---|
committer | Ronan Le Martret <ronan@fridu.net> | 2014-10-16 10:32:50 +0200 |
commit | 90a21056ebb10f74d5ea0412e2fff8b0f230c0e7 (patch) | |
tree | d118c9f62c27a866091b24ac055095ef6fd31e95 | |
parent | 7b5d79f11fcd5cd968aa7727052c803931ab376a (diff) | |
download | meta-tizen-90a21056ebb10f74d5ea0412e2fff8b0f230c0e7.tar.gz meta-tizen-90a21056ebb10f74d5ea0412e2fff8b0f230c0e7.tar.bz2 meta-tizen-90a21056ebb10f74d5ea0412e2fff8b0f230c0e7.zip |
fix post script
Change-Id: Ic8f324d1f7385227f346e1d9cb75bd75a1f15e58
-rw-r--r-- | recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps-extraconf.inc | 30 | ||||
-rw-r--r-- | recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen-extraconf.inc | 25 |
2 files changed, 54 insertions, 1 deletions
diff --git a/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps-extraconf.inc b/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps-extraconf.inc index b7452583..57ada77b 100644 --- a/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps-extraconf.inc +++ b/recipes-tizen/ico-uxf-homescreen-sample-apps/ico-uxf-homescreen-sample-apps-extraconf.inc @@ -5,3 +5,33 @@ do_configure_prepend() { FILES_${PN}-dbg += "${prefix}/apps/org.tizen.ico.app-soundsample/bin/.debug" FILES_${PN}-dbg += "${prefix}/apps/org.tizen.ico.app-vicsample/bin/.debug" + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + # This icons exists in main weston package so we don't package it in. + # Create a symbolic link to it instead. + ln -sf $D${prefix}/share/weston/terminal.png $D${prefix}/share/icons/default/small/ + # Update the app database. + #pkg_initdb + #ail_initdb + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + if [ "$1" = "0" ]; then + [ "x$D" == "x" ] && ldconfig + rm -f $D${prefix}/share/applications/org.tizen.ico.app-soundsample.desktop + rm -f $D${prefix}/share/applications/org.tizen.ico.app-vicsample.desktop + rm -f $D${prefix}/share/applications/browser.desktop + rm -f $D${prefix}/share/applications/terminal.desktop + rm -f $D${prefix}/share/icons/default/small/terminal.png + # Update the app database. + #pkg_initdb + #ail_initdb + fi + +}
\ No newline at end of file diff --git a/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen-extraconf.inc b/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen-extraconf.inc index 2ab6c3c0..f1db39ad 100644 --- a/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen-extraconf.inc +++ b/recipes-tizen/ico-uxf-homescreen/ico-uxf-homescreen-extraconf.inc @@ -38,4 +38,27 @@ INSANE_SKIP_${PN} = "dev-so" FILES_${PN}-dbg += "${prefix}/apps/org.tizen.ico.onscreen/bin/.debug" FILES_${PN}-dbg += "${prefix}/apps/org.tizen.ico.statusbar/bin/.debug/StatusBar" FILES_${PN}-dbg += "${prefix}/apps/org.tizen.ico.homescreen/bin/.debug/HomeScreen" -FILES_${PN}-dbg += "${prefix}/apps/org.tizen.ico.system-controller/bin/.debug"
\ No newline at end of file +FILES_${PN}-dbg += "${prefix}/apps/org.tizen.ico.system-controller/bin/.debug" + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + # Update the app database. + #pkg_initdb + #ail_initdb + +} + +pkg_postrm_${PN}() { + #!/bin/sh -e + + [ "x$D" == "x" ] && ldconfig + rm -f $D${prefix}/share/applications/org.tizen.ico.homescreen.desktop + rm -f $D${prefix}/share/applications/org.tizen.ico.statusbar.desktop + rm -f $D${prefix}/share/applications/org.tizen.ico.onscreen.desktop + rm -f $D${prefix}/share/applications/org.tizen.ico.system-controller.desktop + #pkg_initdb + #ail_initdb + +}
\ No newline at end of file |