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
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