From: Ronan Le Martret Date: Tue, 8 Jul 2014 15:06:28 +0000 (+0200) Subject: meta-tizen: Fix ldconf post script Signed-off-by: Ronan Le Martret X-Git-Tag: rev_ivi_2015_02_04~430 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2518ee3c53449ef3f8194b5e25bd104bfb6e1c4b;p=scm%2Fbb%2Ftizen-distro.git meta-tizen: Fix ldconf post script Signed-off-by: Ronan Le Martret Change-Id: I8b4ea8f9c4b58a3b194b9adfdefb055bbf00ad3c (From meta-tizen rev: 372d2b681a326c6b03aecc1a8ca573903aa31cf4) Signed-off-by: Patrick Ohly --- diff --git a/meta-tizen/recipes-tizen/ail/ail.inc b/meta-tizen/recipes-tizen/ail/ail.inc index b6e5514..e67dbfe 100644 --- a/meta-tizen/recipes-tizen/ail/ail.inc +++ b/meta-tizen/recipes-tizen/ail/ail.inc @@ -117,7 +117,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig vconftool set -t string db/ail/ail_info "0" -f -s system::vconf_inhouse vconftool set -t string db/menuscreen/desktop "0" -f -s system::vconf_inhouse vconftool set -t string db/menu_widget/language "en_US.utf8" -f -s system::vconf_inhouse @@ -155,7 +155,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig if [ $1 == 0 ]; then rm -f $D${prefix}/dbspace/.app_info.db* fi diff --git a/meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc b/meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc index 34e367a..a4f5573 100644 --- a/meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc +++ b/meta-tizen/recipes-tizen/alarm-manager/alarm-manager.inc @@ -160,7 +160,7 @@ pkg_postinst_alarm-server() { pkg_postinst_libalarm() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_prerm_alarm-server() { @@ -175,7 +175,7 @@ pkg_prerm_alarm-server() { pkg_postrm_libalarm() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_alarm-server() { diff --git a/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc b/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc index 4c09673..94fc0af 100644 --- a/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc +++ b/meta-tizen/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc @@ -106,13 +106,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/app-checker/app-checker.inc b/meta-tizen/recipes-tizen/app-checker/app-checker.inc index 3959887..2dd0564 100644 --- a/meta-tizen/recipes-tizen/app-checker/app-checker.inc +++ b/meta-tizen/recipes-tizen/app-checker/app-checker.inc @@ -124,13 +124,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/app-core/app-core.inc b/meta-tizen/recipes-tizen/app-core/app-core.inc index 5dd96d4..a8f8937 100644 --- a/meta-tizen/recipes-tizen/app-core/app-core.inc +++ b/meta-tizen/recipes-tizen/app-core/app-core.inc @@ -144,25 +144,25 @@ do_install() { pkg_postinst_app-core-common() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postinst_app-core-efl() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_app-core-efl() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_app-core-common() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/app-manager/app-manager.inc b/meta-tizen/recipes-tizen/app-manager/app-manager.inc index e32fb98..004a0c1 100644 --- a/meta-tizen/recipes-tizen/app-manager/app-manager.inc +++ b/meta-tizen/recipes-tizen/app-manager/app-manager.inc @@ -114,13 +114,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/app-svc/app-svc.inc b/meta-tizen/recipes-tizen/app-svc/app-svc.inc index 616b534..dcb3b99 100644 --- a/meta-tizen/recipes-tizen/app-svc/app-svc.inc +++ b/meta-tizen/recipes-tizen/app-svc/app-svc.inc @@ -125,13 +125,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc b/meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc index 466b181..85cca28 100644 --- a/meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc +++ b/meta-tizen/recipes-tizen/appcore-agent/appcore-agent.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/application/application.inc b/meta-tizen/recipes-tizen/application/application.inc index db9bfdf..b010289 100644 --- a/meta-tizen/recipes-tizen/application/application.inc +++ b/meta-tizen/recipes-tizen/application/application.inc @@ -118,13 +118,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager.inc b/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager.inc index 346245d..446cf5b 100644 --- a/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager.inc +++ b/meta-tizen/recipes-tizen/audio-session-manager/audio-session-manager.inc @@ -143,7 +143,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig vconftool set -t int memory/Sound/SoundStatus "0" -g 29 -f -i } @@ -151,7 +151,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/aul-1/aul-1.inc b/meta-tizen/recipes-tizen/aul-1/aul-1.inc index 498aa16..e1e230a 100644 --- a/meta-tizen/recipes-tizen/aul-1/aul-1.inc +++ b/meta-tizen/recipes-tizen/aul-1/aul-1.inc @@ -145,7 +145,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig systemctl daemon-reload if [ $1 == 1 ]; then systemctl restart launchpad-preload@5000.service @@ -167,7 +167,7 @@ pkg_prerm_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig systemctl daemon-reload } diff --git a/meta-tizen/recipes-tizen/avsystem/avsystem.inc b/meta-tizen/recipes-tizen/avsystem/avsystem.inc index 27598c0..7dbd92a 100644 --- a/meta-tizen/recipes-tizen/avsystem/avsystem.inc +++ b/meta-tizen/recipes-tizen/avsystem/avsystem.inc @@ -149,7 +149,7 @@ do_install() { pkg_postinst_libavsysaudio() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } @@ -175,7 +175,7 @@ pkg_prerm_${PN}() { pkg_postrm_libavsysaudio() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } diff --git a/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc b/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc index d64b337..4934762 100644 --- a/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc +++ b/meta-tizen/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc @@ -151,7 +151,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig vconftool set -tf int db/bluetooth/status "0" -g 6520 vconftool set -tf int file/private/bt-service/flight_mode_deactivated "0" -g 6520 -i vconftool set -tf string memory/bluetooth/sco_headset_name "" -g 6520 -i @@ -163,7 +163,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/bluetooth/bluetooth.inc b/meta-tizen/recipes-tizen/bluetooth/bluetooth.inc index af82a9e..27f09bc 100644 --- a/meta-tizen/recipes-tizen/bluetooth/bluetooth.inc +++ b/meta-tizen/recipes-tizen/bluetooth/bluetooth.inc @@ -108,13 +108,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/bundle/bundle.inc b/meta-tizen/recipes-tizen/bundle/bundle.inc index 52ddec4..e9d8eb7 100644 --- a/meta-tizen/recipes-tizen/bundle/bundle.inc +++ b/meta-tizen/recipes-tizen/bundle/bundle.inc @@ -102,13 +102,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/chromium/chromium.inc b/meta-tizen/recipes-tizen/chromium/chromium.inc index d340c7a..216b97f 100644 --- a/meta-tizen/recipes-tizen/chromium/chromium.inc +++ b/meta-tizen/recipes-tizen/chromium/chromium.inc @@ -101,13 +101,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/com-core/com-core.inc b/meta-tizen/recipes-tizen/com-core/com-core.inc index 8fc1078..a4f0925 100644 --- a/meta-tizen/recipes-tizen/com-core/com-core.inc +++ b/meta-tizen/recipes-tizen/com-core/com-core.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_libcom-core() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_libcom-core() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/connection/connection.inc b/meta-tizen/recipes-tizen/connection/connection.inc index 74673cd..d7b17b8 100644 --- a/meta-tizen/recipes-tizen/connection/connection.inc +++ b/meta-tizen/recipes-tizen/connection/connection.inc @@ -113,13 +113,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/crosswalk/crosswalk-extraconf.inc b/meta-tizen/recipes-tizen/crosswalk/crosswalk-extraconf.inc index 47722de..2da72ef 100644 --- a/meta-tizen/recipes-tizen/crosswalk/crosswalk-extraconf.inc +++ b/meta-tizen/recipes-tizen/crosswalk/crosswalk-extraconf.inc @@ -62,3 +62,11 @@ crosswalk-dbg_files += "/usr/lib/xwalk/.debug/libffmpegsumo.so" crosswalk-dbg_files += "/usr/lib/xwalk/.debug/xwalk" FILES_${PN}-dbg += "${crosswalk-dbg_files}" + +pkg_postinst_${PN}() { + #!/bin/sh -e + + mkdir -p $D/opt/share/icons/default/small + mkdir -p $D/opt/share/packages + +} \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/device/device.inc b/meta-tizen/recipes-tizen/device/device.inc index 5e69693..383c9f1 100644 --- a/meta-tizen/recipes-tizen/device/device.inc +++ b/meta-tizen/recipes-tizen/device/device.inc @@ -106,13 +106,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/devman/devman.inc b/meta-tizen/recipes-tizen/devman/devman.inc index 310cdca..3e9370b 100644 --- a/meta-tizen/recipes-tizen/devman/devman.inc +++ b/meta-tizen/recipes-tizen/devman/devman.inc @@ -113,13 +113,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/dlog/dlog.inc b/meta-tizen/recipes-tizen/dlog/dlog.inc index 4367410..bb8b42f 100644 --- a/meta-tizen/recipes-tizen/dlog/dlog.inc +++ b/meta-tizen/recipes-tizen/dlog/dlog.inc @@ -138,13 +138,13 @@ do_install() { pkg_postinst_libdlog() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_libdlog() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/download-provider/download-provider.inc b/meta-tizen/recipes-tizen/download-provider/download-provider.inc index 2481bfb..9ad7c14 100644 --- a/meta-tizen/recipes-tizen/download-provider/download-provider.inc +++ b/meta-tizen/recipes-tizen/download-provider/download-provider.inc @@ -159,7 +159,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig if [ $1 -eq 1 ] ; then # Initial installation /usr/bin/systemctl preset download-provider.service >/dev/null 2>&1 || : @@ -182,7 +182,7 @@ pkg_prerm_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : } diff --git a/meta-tizen/recipes-tizen/drm-client/drm-client.inc b/meta-tizen/recipes-tizen/drm-client/drm-client.inc index fded1fa..f442b11 100644 --- a/meta-tizen/recipes-tizen/drm-client/drm-client.inc +++ b/meta-tizen/recipes-tizen/drm-client/drm-client.inc @@ -104,13 +104,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/favorites/favorites.inc b/meta-tizen/recipes-tizen/favorites/favorites.inc index 24602f1..243c0ee 100644 --- a/meta-tizen/recipes-tizen/favorites/favorites.inc +++ b/meta-tizen/recipes-tizen/favorites/favorites.inc @@ -108,7 +108,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig source /etc/tizen-platform.conf users_gid=$(getent group $TZ_SYS_USER_GROUP | cut -f3 -d':') chsmack -a 'User' /opt/usr/dbspace/.browser-history.db* @@ -126,7 +126,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/heynoti/heynoti.inc b/meta-tizen/recipes-tizen/heynoti/heynoti.inc index a5282a1..0d8e976 100644 --- a/meta-tizen/recipes-tizen/heynoti/heynoti.inc +++ b/meta-tizen/recipes-tizen/heynoti/heynoti.inc @@ -110,13 +110,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/iniparser/iniparser.inc b/meta-tizen/recipes-tizen/iniparser/iniparser.inc index 801dea5..502ed88 100644 --- a/meta-tizen/recipes-tizen/iniparser/iniparser.inc +++ b/meta-tizen/recipes-tizen/iniparser/iniparser.inc @@ -92,13 +92,13 @@ EOF pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc b/meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc index 0455093..3b1d407 100644 --- a/meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc +++ b/meta-tizen/recipes-tizen/libdevice-node/libdevice-node.inc @@ -100,13 +100,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libhaptic/libhaptic.inc b/meta-tizen/recipes-tizen/libhaptic/libhaptic.inc index c101618..16768ea 100644 --- a/meta-tizen/recipes-tizen/libhaptic/libhaptic.inc +++ b/meta-tizen/recipes-tizen/libhaptic/libhaptic.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libmedia-service/libmedia-service.inc b/meta-tizen/recipes-tizen/libmedia-service/libmedia-service.inc index 422a5ab..1fd03b6 100644 --- a/meta-tizen/recipes-tizen/libmedia-service/libmedia-service.inc +++ b/meta-tizen/recipes-tizen/libmedia-service/libmedia-service.inc @@ -120,13 +120,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc b/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc index 06f02bd..2891500 100644 --- a/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc +++ b/meta-tizen/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc @@ -128,13 +128,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libmm-common/libmm-common.inc b/meta-tizen/recipes-tizen/libmm-common/libmm-common.inc index a5f755b..4ce1d3f 100644 --- a/meta-tizen/recipes-tizen/libmm-common/libmm-common.inc +++ b/meta-tizen/recipes-tizen/libmm-common/libmm-common.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc b/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc index a1cb424..3dac926 100644 --- a/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc +++ b/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc @@ -1,7 +1,7 @@ DESCRIPTION = "Media Fileinfo" HOMEPAGE = "http://nohomepage.org" SECTION = "System/Libraries" -LICENSE = "Apache License, Version 2.0" +LICENSE = "Apache-2.0" SRC_URI = "" @@ -59,7 +59,6 @@ do_compile() { export CFLAGS - CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; @@ -78,30 +77,15 @@ do_compile() { --localstatedir=${localstatedir} \ --sharedstatedir=${prefix}/com \ --mandir=${mandir} \ - --infodir=${infodir}.sh + --infodir=${infodir} \ + --disable-testmode \ + --disable-dump \ + --enable-dyn \ + --disable-iommap \ + --disable-gtk \ + --disable-drm - - CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; - CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; - FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -I%_fmoddir}" ; export FFLAGS ; - autotools_do_configure --build=${TARGET_SYS} --host=${HOST_SYS} \ - --target=x86_64-tizen-linux \ - --program-prefix= \ - --prefix=${prefix} \ - --exec-prefix=${prefix} \ - --bindir=${prefix}/bin \ - --sbindir=${prefix}/sbin \ - --sysconfdir=${sysconfdir} \ - --datadir=${prefix}/share \ - --includedir=${prefix}/include \ - --libdir=${prefix}/lib \ - --libexecdir=${prefix}/libexec \ - --localstatedir=${localstatedir} \ - --sharedstatedir=${prefix}/com \ - --mandir=${mandir} \ - --infodir=${infodir} --disable-testmode --disable-dump --enable-dyn --disable-iommap --disable-drm --disable-gtk - - make + oe_runmake @@ -135,13 +119,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo_git.bb b/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo_git.bb index 7052eee..589ed00 100644 --- a/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo_git.bb +++ b/meta-tizen/recipes-tizen/libmm-fileinfo/libmm-fileinfo_git.bb @@ -4,7 +4,7 @@ PRIORITY = "10" LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-fileinfo;tag=c7a42a98cb129f69556eb18d032f20cd8fdb0fbb;nobranch=1" +SRC_URI += "git://review.tizen.org/platform/core/multimedia/libmm-fileinfo;tag=09fb4f4fdfb61889d60bed9c06aaa2beb7e7c72d;nobranch=1" BBCLASSEXTEND += " native " diff --git a/meta-tizen/recipes-tizen/libmm-session/libmm-session.inc b/meta-tizen/recipes-tizen/libmm-session/libmm-session.inc index c01322e..dcc09ca 100644 --- a/meta-tizen/recipes-tizen/libmm-session/libmm-session.inc +++ b/meta-tizen/recipes-tizen/libmm-session/libmm-session.inc @@ -129,13 +129,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc index 83be3e8..35ba480 100644 --- a/meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc +++ b/meta-tizen/recipes-tizen/libmm-sound/libmm-sound.inc @@ -144,7 +144,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig /usr/bin/vconftool set -t int memory/Sound/ASMReady 0 -g 29 -f -i /usr/bin/vconftool set -t int file/private/sound/volume/system 5 -g 29 -f /usr/bin/vconftool set -t int file/private/sound/volume/notification 7 -g 29 -f @@ -161,7 +161,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc b/meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc index a127ac3..eb603b7 100644 --- a/meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc +++ b/meta-tizen/recipes-tizen/libmm-ta/libmm-ta.inc @@ -128,13 +128,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libmm-utility/libmm-utility.inc b/meta-tizen/recipes-tizen/libmm-utility/libmm-utility.inc index 9a20f75..f05675b 100644 --- a/meta-tizen/recipes-tizen/libmm-utility/libmm-utility.inc +++ b/meta-tizen/recipes-tizen/libmm-utility/libmm-utility.inc @@ -127,13 +127,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libnet-client/libnet-client.inc b/meta-tizen/recipes-tizen/libnet-client/libnet-client.inc index 5f45c36..ad1a4c9 100644 --- a/meta-tizen/recipes-tizen/libnet-client/libnet-client.inc +++ b/meta-tizen/recipes-tizen/libnet-client/libnet-client.inc @@ -146,13 +146,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc b/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc index 91196b6..752d09b 100644 --- a/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc +++ b/meta-tizen/recipes-tizen/libprivilege-control/libprivilege-control.inc @@ -124,7 +124,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig /usr/share/privilege-control/db/updater.sh chsmack -a 'System' $D${prefix}/dbspace/.rules-db.db3* @@ -133,7 +133,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/librua/librua.inc b/meta-tizen/recipes-tizen/librua/librua.inc index 7b7e79f..f5334e0 100644 --- a/meta-tizen/recipes-tizen/librua/librua.inc +++ b/meta-tizen/recipes-tizen/librua/librua.inc @@ -108,13 +108,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util.inc b/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util.inc index 90c218e..09255b4 100644 --- a/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util.inc +++ b/meta-tizen/recipes-tizen/libslp-db-util/libslp-db-util.inc @@ -103,13 +103,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libslp-location/libslp-location.inc b/meta-tizen/recipes-tizen/libslp-location/libslp-location.inc index 19df05c..3af8615 100644 --- a/meta-tizen/recipes-tizen/libslp-location/libslp-location.inc +++ b/meta-tizen/recipes-tizen/libslp-location/libslp-location.inc @@ -117,7 +117,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig vconftool set -t int db/location/last/gps/Timestamp "0" -f vconftool set -t double db/location/last/gps/Latitude "0.0" -f vconftool set -t double db/location/last/gps/Longitude "0.0" -f @@ -142,7 +142,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc b/meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc index c467e9b..73d3527 100644 --- a/meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc +++ b/meta-tizen/recipes-tizen/libslp-pm/libslp-pm.inc @@ -104,13 +104,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc b/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc index ca3503f..f6c45c2 100644 --- a/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc +++ b/meta-tizen/recipes-tizen/libslp-sensor/libslp-sensor.inc @@ -104,13 +104,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc b/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc index 5678987..d7d17c9 100644 --- a/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc +++ b/meta-tizen/recipes-tizen/libslp-sysman/libslp-sysman.inc @@ -118,13 +118,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libtapi-legacy/libtapi-legacy.inc b/meta-tizen/recipes-tizen/libtapi-legacy/libtapi-legacy.inc index 957e309..a17dbbf 100644 --- a/meta-tizen/recipes-tizen/libtapi-legacy/libtapi-legacy.inc +++ b/meta-tizen/recipes-tizen/libtapi-legacy/libtapi-legacy.inc @@ -111,13 +111,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libtapi/libtapi.inc b/meta-tizen/recipes-tizen/libtapi/libtapi.inc index 4133d17..ed92e45 100644 --- a/meta-tizen/recipes-tizen/libtapi/libtapi.inc +++ b/meta-tizen/recipes-tizen/libtapi/libtapi.inc @@ -105,13 +105,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct.inc b/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct.inc index a33a4a8..bed2882 100644 --- a/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct.inc +++ b/meta-tizen/recipes-tizen/libwifi-direct/libwifi-direct.inc @@ -109,13 +109,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/location-manager/location-manager.inc b/meta-tizen/recipes-tizen/location-manager/location-manager.inc index fefb60e..9444554 100644 --- a/meta-tizen/recipes-tizen/location-manager/location-manager.inc +++ b/meta-tizen/recipes-tizen/location-manager/location-manager.inc @@ -105,13 +105,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/lua/lua.inc b/meta-tizen/recipes-tizen/lua/lua.inc index eb7b9d5..ff657ea 100644 --- a/meta-tizen/recipes-tizen/lua/lua.inc +++ b/meta-tizen/recipes-tizen/lua/lua.inc @@ -97,13 +97,13 @@ do_install() { pkg_postinst_liblua() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_liblua() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/media-content/media-content.inc b/meta-tizen/recipes-tizen/media-content/media-content.inc index c85d21a..1a90926 100644 --- a/meta-tizen/recipes-tizen/media-content/media-content.inc +++ b/meta-tizen/recipes-tizen/media-content/media-content.inc @@ -111,13 +111,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/media-server/media-server.inc b/meta-tizen/recipes-tizen/media-server/media-server.inc index 259f217..430c549 100644 --- a/meta-tizen/recipes-tizen/media-server/media-server.inc +++ b/meta-tizen/recipes-tizen/media-server/media-server.inc @@ -165,7 +165,7 @@ do_install() { pkg_postinst_libmedia-utils() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postinst_${PN}() { @@ -184,7 +184,7 @@ pkg_postinst_${PN}() { pkg_postrm_libmedia-utils() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/message-port/message-port.inc b/meta-tizen/recipes-tizen/message-port/message-port.inc index 8939058..f8ddd6b 100644 --- a/meta-tizen/recipes-tizen/message-port/message-port.inc +++ b/meta-tizen/recipes-tizen/message-port/message-port.inc @@ -117,13 +117,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/notification/notification.inc b/meta-tizen/recipes-tizen/notification/notification.inc index d1379ea..c17888f 100644 --- a/meta-tizen/recipes-tizen/notification/notification.inc +++ b/meta-tizen/recipes-tizen/notification/notification.inc @@ -128,7 +128,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig $D${prefix}/share/notification/notification_DB_init.sh } @@ -136,7 +136,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/package-manager/package-manager.inc b/meta-tizen/recipes-tizen/package-manager/package-manager.inc index f215676..83296ee 100644 --- a/meta-tizen/recipes-tizen/package-manager/package-manager.inc +++ b/meta-tizen/recipes-tizen/package-manager/package-manager.inc @@ -110,13 +110,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/pam/pam.inc b/meta-tizen/recipes-tizen/pam/pam.inc index f18abd3..cb73474 100644 --- a/meta-tizen/recipes-tizen/pam/pam.inc +++ b/meta-tizen/recipes-tizen/pam/pam.inc @@ -166,7 +166,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig if [ ! -a /var/log/faillog ] ; then /usr/bin/install -m 600 /dev/null /var/log/faillog fi @@ -179,7 +179,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc b/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc index 438dd0b..ffb8a49 100644 --- a/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc +++ b/meta-tizen/recipes-tizen/pkgmgr-info/pkgmgr-info.inc @@ -122,25 +122,25 @@ do_install() { pkg_postinst_pkgmgr-info-parser() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_pkgmgr-info-parser() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/power/power.inc b/meta-tizen/recipes-tizen/power/power.inc index 33bc0bd..657a79d 100644 --- a/meta-tizen/recipes-tizen/power/power.inc +++ b/meta-tizen/recipes-tizen/power/power.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/privacy-manager/privacy-manager.inc b/meta-tizen/recipes-tizen/privacy-manager/privacy-manager.inc index dc4f11d..2e6b076 100644 --- a/meta-tizen/recipes-tizen/privacy-manager/privacy-manager.inc +++ b/meta-tizen/recipes-tizen/privacy-manager/privacy-manager.inc @@ -163,13 +163,13 @@ do_install() { pkg_postinst_privacy-manager-client() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postinst_privacy-manager-server() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig echo "Check privacy DB" if [ ! -f $D${prefix}/dbspace/.privacy.db ] then @@ -183,25 +183,25 @@ pkg_postinst_privacy-manager-server() { pkg_postinst_capi-security-privacy-manager() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_capi-security-privacy-manager() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_privacy-manager-client() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/rpm/rpm.inc b/meta-tizen/recipes-tizen/rpm/rpm.inc index 991fab8..19a64f6 100644 --- a/meta-tizen/recipes-tizen/rpm/rpm.inc +++ b/meta-tizen/recipes-tizen/rpm/rpm.inc @@ -289,7 +289,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig test -f ${localstatedir}/lib/rpm/Packages || rpm --initdb rm -f ${localstatedir}/lib/rpm/Filemd5s \ ${localstatedir}/lib/rpm/Filedigests \ @@ -301,7 +301,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } diff --git a/meta-tizen/recipes-tizen/runtime-info/runtime-info.inc b/meta-tizen/recipes-tizen/runtime-info/runtime-info.inc index ef41355..4d8e1d3 100644 --- a/meta-tizen/recipes-tizen/runtime-info/runtime-info.inc +++ b/meta-tizen/recipes-tizen/runtime-info/runtime-info.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/security-server/security-server.inc b/meta-tizen/recipes-tizen/security-server/security-server.inc index 4bcc856..2fea6bf6 100644 --- a/meta-tizen/recipes-tizen/security-server/security-server.inc +++ b/meta-tizen/recipes-tizen/security-server/security-server.inc @@ -186,13 +186,13 @@ pkg_postinst_${PN}() { pkg_postinst_libsecurity-server-client() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postinst_libsecurity-manager-client() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_prerm_${PN}() { @@ -208,7 +208,7 @@ pkg_prerm_${PN}() { pkg_postrm_libsecurity-manager-client() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { @@ -224,7 +224,7 @@ pkg_postrm_${PN}() { pkg_postrm_libsecurity-server-client() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/sensor/sensor.inc b/meta-tizen/recipes-tizen/sensor/sensor.inc index ecb0502..2a410c0 100644 --- a/meta-tizen/recipes-tizen/sensor/sensor.inc +++ b/meta-tizen/recipes-tizen/sensor/sensor.inc @@ -110,13 +110,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc b/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc index 6a9a9f0..a0734f4 100644 --- a/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc +++ b/meta-tizen/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc @@ -157,19 +157,19 @@ do_install() { pkg_postinst_pkgmgr-installer() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postinst_pkgmgr-server() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig # For pkgmgr-install: # Update mime database to support package mime types update-mime-database /usr/share/mime @@ -179,19 +179,19 @@ pkg_postinst_${PN}() { pkg_postinst_pkgmgr-client() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_pkgmgr-client() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_pkgmgr-installer() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" @@ -216,6 +216,8 @@ pkgmgr_files += "${sysconfdir}/package-manager/backendlib" pkgmgr_files += "${sysconfdir}/opt/upgrade" pkgmgr_files += "${sysconfdir}/opt/upgrade/pkgmgr.patch.sh" pkgmgr_files += "${prefix}/bin/pkgcmd" +pkgmgr_files += "${prefix}/bin/pkgcmd.real" +pkgmgr_files += "${prefix}/bin/pkgcmd.wrapper" pkgmgr_files += "${prefix}/bin/pkg_initdb" pkgmgr_files += "${prefix}/bin/pkg_getsize" pkgmgr_files += "${prefix}/bin/pkginfo" diff --git a/meta-tizen/recipes-tizen/smack/smack.inc b/meta-tizen/recipes-tizen/smack/smack.inc index 1478074..bcefaff 100644 --- a/meta-tizen/recipes-tizen/smack/smack.inc +++ b/meta-tizen/recipes-tizen/smack/smack.inc @@ -118,13 +118,13 @@ do_install() { pkg_postinst_libsmack() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_libsmack() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/sound-manager/sound-manager.inc b/meta-tizen/recipes-tizen/sound-manager/sound-manager.inc index aec4277..519c63f 100644 --- a/meta-tizen/recipes-tizen/sound-manager/sound-manager.inc +++ b/meta-tizen/recipes-tizen/sound-manager/sound-manager.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/status/status.inc b/meta-tizen/recipes-tizen/status/status.inc index 819d93d..90d2295 100644 --- a/meta-tizen/recipes-tizen/status/status.inc +++ b/meta-tizen/recipes-tizen/status/status.inc @@ -121,7 +121,7 @@ pkg_postinst_${PN}() { vconftool set -t int memory/private/libstatus/vr/pid -1 -i -g 5000 vconftool set -t string memory/private/libstatus/message "" -i -g 5000 } - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig init_vconf } @@ -129,7 +129,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/syspopup/syspopup.inc b/meta-tizen/recipes-tizen/syspopup/syspopup.inc index 35702dd..7651958 100644 --- a/meta-tizen/recipes-tizen/syspopup/syspopup.inc +++ b/meta-tizen/recipes-tizen/syspopup/syspopup.inc @@ -134,25 +134,25 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/system-info/system-info.inc b/meta-tizen/recipes-tizen/system-info/system-info.inc index 12652bc..8bb7ef7 100644 --- a/meta-tizen/recipes-tizen/system-info/system-info.inc +++ b/meta-tizen/recipes-tizen/system-info/system-info.inc @@ -110,13 +110,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/system-settings/system-settings.inc b/meta-tizen/recipes-tizen/system-settings/system-settings.inc index 782c4ed..92b25d3 100644 --- a/meta-tizen/recipes-tizen/system-settings/system-settings.inc +++ b/meta-tizen/recipes-tizen/system-settings/system-settings.inc @@ -115,13 +115,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/systemd/systemd.inc b/meta-tizen/recipes-tizen/systemd/systemd.inc index de201e9..f34e174 100644 --- a/meta-tizen/recipes-tizen/systemd/systemd.inc +++ b/meta-tizen/recipes-tizen/systemd/systemd.inc @@ -292,13 +292,13 @@ pkg_postinst_${PN}() { pkg_postinst_libgudev() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postinst_libsystemd() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_prerm_${PN}() { @@ -318,13 +318,13 @@ pkg_prerm_${PN}() { pkg_postrm_libgudev() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_libsystemd() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { diff --git a/meta-tizen/recipes-tizen/tethering/tethering.inc b/meta-tizen/recipes-tizen/tethering/tethering.inc index b9c9fa0..7c96129 100644 --- a/meta-tizen/recipes-tizen/tethering/tethering.inc +++ b/meta-tizen/recipes-tizen/tethering/tethering.inc @@ -104,13 +104,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config.inc b/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config.inc index d66f39c..1cbafac 100644 --- a/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config.inc +++ b/meta-tizen/recipes-tizen/tizen-platform-config/tizen-platform-config.inc @@ -118,13 +118,13 @@ do_install() { pkg_postinst_libtzplatform-config() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_libtzplatform-config() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/url-download/url-download.inc b/meta-tizen/recipes-tizen/url-download/url-download.inc index d6bc87c..49d58f8 100644 --- a/meta-tizen/recipes-tizen/url-download/url-download.inc +++ b/meta-tizen/recipes-tizen/url-download/url-download.inc @@ -105,13 +105,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/meta-tizen/recipes-tizen/vconf/vconf-extraconf.inc b/meta-tizen/recipes-tizen/vconf/vconf-extraconf.inc index b3bf3e4..0ec3421 100644 --- a/meta-tizen/recipes-tizen/vconf/vconf-extraconf.inc +++ b/meta-tizen/recipes-tizen/vconf/vconf-extraconf.inc @@ -9,3 +9,14 @@ DEPENDS_class-target += "vconf-native" do_install_append_class-native() { sed -i "s@source /etc/tizen-platform.conf@source ${sysconfdir}/tizen-platform.conf@g" ${D}${prefix}/bin/vconf-init } + +pkg_postinst_${PN}() { + #!/bin/sh -e + + [ "x\$D" == "x" ] && ldconfig + [ "x\$D" == "x" ] && systemctl daemon-reload + chsmack -a 'User' $D${prefix}/kdb + chsmack -a 'User' $D${prefix}/kdb/db + chsmack -a 'User' $D${prefix}/kdb/db/.backup + +} \ No newline at end of file diff --git a/meta-tizen/recipes-tizen/vconf/vconf.inc b/meta-tizen/recipes-tizen/vconf/vconf.inc index b282ad3..03428ad 100644 --- a/meta-tizen/recipes-tizen/vconf/vconf.inc +++ b/meta-tizen/recipes-tizen/vconf/vconf.inc @@ -124,7 +124,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig systemctl daemon-reload chsmack -a 'User' $D${prefix}/kdb chsmack -a 'User' $D${prefix}/kdb/db @@ -135,7 +135,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig systemctl daemon-reload } diff --git a/meta-tizen/recipes-tizen/xdgmime/xdgmime.inc b/meta-tizen/recipes-tizen/xdgmime/xdgmime.inc index b3b0103..7a94737 100644 --- a/meta-tizen/recipes-tizen/xdgmime/xdgmime.inc +++ b/meta-tizen/recipes-tizen/xdgmime/xdgmime.inc @@ -100,13 +100,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - [ "x\$D" != "x" ] && ldconfig + [ "x\$D" == "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"