From 71d946633770939e39a3cdc50781fc790cc361ae Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Tue, 8 Jul 2014 14:58:13 +0200 Subject: [PATCH] ldconfig exec only on target. Change-Id: I1c70023331bb05995ee1dd3686c1020b49626967 Signed-off-by: Ronan Le Martret --- recipes-tizen/ail/ail.inc | 4 ++-- recipes-tizen/alarm-manager/alarm-manager.inc | 4 ++-- recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc | 4 ++-- recipes-tizen/app-checker/app-checker.inc | 4 ++-- recipes-tizen/app-core/app-core.inc | 8 ++++---- recipes-tizen/app-manager/app-manager.inc | 4 ++-- recipes-tizen/app-svc/app-svc.inc | 4 ++-- recipes-tizen/appcore-agent/appcore-agent.inc | 4 ++-- recipes-tizen/application/application.inc | 4 ++-- .../audio-session-manager/audio-session-manager.inc | 4 ++-- recipes-tizen/aul-1/aul-1.inc | 4 ++-- recipes-tizen/avsystem/avsystem.inc | 4 ++-- recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc | 4 ++-- recipes-tizen/bluetooth/bluetooth.inc | 4 ++-- recipes-tizen/bundle/bundle.inc | 4 ++-- recipes-tizen/chromium/chromium.inc | 4 ++-- recipes-tizen/com-core/com-core.inc | 4 ++-- recipes-tizen/connection/connection.inc | 4 ++-- recipes-tizen/device/device.inc | 4 ++-- recipes-tizen/devman/devman.inc | 4 ++-- recipes-tizen/dlog/dlog.inc | 4 ++-- recipes-tizen/download-provider/download-provider.inc | 4 ++-- recipes-tizen/drm-client/drm-client.inc | 4 ++-- recipes-tizen/favorites/favorites.inc | 4 ++-- recipes-tizen/heynoti/heynoti.inc | 4 ++-- recipes-tizen/iniparser/iniparser.inc | 4 ++-- recipes-tizen/libdevice-node/libdevice-node.inc | 4 ++-- recipes-tizen/libhaptic/libhaptic.inc | 4 ++-- recipes-tizen/libmedia-service/libmedia-service.inc | 4 ++-- recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc | 4 ++-- recipes-tizen/libmm-common/libmm-common.inc | 4 ++-- recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc | 4 ++-- recipes-tizen/libmm-session/libmm-session.inc | 4 ++-- recipes-tizen/libmm-sound/libmm-sound.inc | 4 ++-- recipes-tizen/libmm-ta/libmm-ta.inc | 4 ++-- recipes-tizen/libmm-utility/libmm-utility.inc | 4 ++-- recipes-tizen/libnet-client/libnet-client.inc | 4 ++-- recipes-tizen/libprivilege-control/libprivilege-control.inc | 4 ++-- recipes-tizen/librua/librua.inc | 4 ++-- recipes-tizen/libslp-db-util/libslp-db-util.inc | 4 ++-- recipes-tizen/libslp-location/libslp-location.inc | 4 ++-- recipes-tizen/libslp-pm/libslp-pm.inc | 4 ++-- recipes-tizen/libslp-sensor/libslp-sensor.inc | 4 ++-- recipes-tizen/libslp-sysman/libslp-sysman.inc | 4 ++-- recipes-tizen/libtapi-legacy/libtapi-legacy.inc | 4 ++-- recipes-tizen/libtapi/libtapi.inc | 4 ++-- recipes-tizen/libwifi-direct/libwifi-direct.inc | 4 ++-- recipes-tizen/location-manager/location-manager.inc | 4 ++-- recipes-tizen/lua/lua.inc | 4 ++-- recipes-tizen/media-content/media-content.inc | 4 ++-- recipes-tizen/media-server/media-server.inc | 4 ++-- recipes-tizen/message-port/message-port.inc | 4 ++-- recipes-tizen/notification/notification.inc | 4 ++-- recipes-tizen/package-manager/package-manager.inc | 4 ++-- recipes-tizen/pam/pam.inc | 4 ++-- recipes-tizen/pkgmgr-info/pkgmgr-info.inc | 8 ++++---- recipes-tizen/power/power.inc | 4 ++-- recipes-tizen/privacy-manager/privacy-manager.inc | 12 ++++++------ recipes-tizen/rpm/rpm.inc | 4 ++-- recipes-tizen/runtime-info/runtime-info.inc | 4 ++-- recipes-tizen/security-server/security-server.inc | 8 ++++---- recipes-tizen/sensor/sensor.inc | 4 ++-- recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc | 12 ++++++------ recipes-tizen/smack/smack.inc | 4 ++-- recipes-tizen/sound-manager/sound-manager.inc | 4 ++-- recipes-tizen/status/status.inc | 4 ++-- recipes-tizen/syspopup/syspopup.inc | 8 ++++---- recipes-tizen/system-info/system-info.inc | 4 ++-- recipes-tizen/system-settings/system-settings.inc | 4 ++-- recipes-tizen/systemd/systemd.inc | 8 ++++---- recipes-tizen/tethering/tethering.inc | 4 ++-- .../tizen-platform-config/tizen-platform-config.inc | 4 ++-- recipes-tizen/url-download/url-download.inc | 4 ++-- recipes-tizen/vconf/vconf.inc | 4 ++-- recipes-tizen/xdgmime/xdgmime.inc | 4 ++-- 75 files changed, 168 insertions(+), 168 deletions(-) diff --git a/recipes-tizen/ail/ail.inc b/recipes-tizen/ail/ail.inc index 78f9f9e..b6e5514 100644 --- a/recipes-tizen/ail/ail.inc +++ b/recipes-tizen/ail/ail.inc @@ -117,7 +117,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig if [ $1 == 0 ]; then rm -f $D${prefix}/dbspace/.app_info.db* fi diff --git a/recipes-tizen/alarm-manager/alarm-manager.inc b/recipes-tizen/alarm-manager/alarm-manager.inc index 39cc5d7..6298cec 100644 --- a/recipes-tizen/alarm-manager/alarm-manager.inc +++ b/recipes-tizen/alarm-manager/alarm-manager.inc @@ -182,7 +182,7 @@ pkg_postinst_alarm-server() { pkg_postinst_libalarm() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_prerm_alarm-server() { @@ -197,7 +197,7 @@ pkg_prerm_alarm-server() { pkg_postrm_libalarm() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_alarm-server() { diff --git a/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc b/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc index 85f9453..4c09673 100644 --- a/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc +++ b/recipes-tizen/alsa-scenario-0.2/alsa-scenario-0.2.inc @@ -106,13 +106,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/app-checker/app-checker.inc b/recipes-tizen/app-checker/app-checker.inc index b5e1232..3959887 100644 --- a/recipes-tizen/app-checker/app-checker.inc +++ b/recipes-tizen/app-checker/app-checker.inc @@ -124,13 +124,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/app-core/app-core.inc b/recipes-tizen/app-core/app-core.inc index 918fe26..5dd96d4 100644 --- a/recipes-tizen/app-core/app-core.inc +++ b/recipes-tizen/app-core/app-core.inc @@ -144,25 +144,25 @@ do_install() { pkg_postinst_app-core-common() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postinst_app-core-efl() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_app-core-efl() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_app-core-common() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/app-manager/app-manager.inc b/recipes-tizen/app-manager/app-manager.inc index fedb45f..e32fb98 100644 --- a/recipes-tizen/app-manager/app-manager.inc +++ b/recipes-tizen/app-manager/app-manager.inc @@ -114,13 +114,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/app-svc/app-svc.inc b/recipes-tizen/app-svc/app-svc.inc index e5fe4f1..616b534 100644 --- a/recipes-tizen/app-svc/app-svc.inc +++ b/recipes-tizen/app-svc/app-svc.inc @@ -125,13 +125,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/appcore-agent/appcore-agent.inc b/recipes-tizen/appcore-agent/appcore-agent.inc index a7976ac..466b181 100644 --- a/recipes-tizen/appcore-agent/appcore-agent.inc +++ b/recipes-tizen/appcore-agent/appcore-agent.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/application/application.inc b/recipes-tizen/application/application.inc index 35bbc31..db9bfdf 100644 --- a/recipes-tizen/application/application.inc +++ b/recipes-tizen/application/application.inc @@ -118,13 +118,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/audio-session-manager/audio-session-manager.inc b/recipes-tizen/audio-session-manager/audio-session-manager.inc index 18f4399..346245d 100644 --- a/recipes-tizen/audio-session-manager/audio-session-manager.inc +++ b/recipes-tizen/audio-session-manager/audio-session-manager.inc @@ -143,7 +143,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/aul-1/aul-1.inc b/recipes-tizen/aul-1/aul-1.inc index ac9cd9f..498aa16 100644 --- a/recipes-tizen/aul-1/aul-1.inc +++ b/recipes-tizen/aul-1/aul-1.inc @@ -145,7 +145,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig systemctl daemon-reload } diff --git a/recipes-tizen/avsystem/avsystem.inc b/recipes-tizen/avsystem/avsystem.inc index 75d4ee2..27598c0 100644 --- a/recipes-tizen/avsystem/avsystem.inc +++ b/recipes-tizen/avsystem/avsystem.inc @@ -149,7 +149,7 @@ do_install() { pkg_postinst_libavsysaudio() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } @@ -175,7 +175,7 @@ pkg_prerm_${PN}() { pkg_postrm_libavsysaudio() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } diff --git a/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc b/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc index 0107045..d64b337 100644 --- a/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc +++ b/recipes-tizen/bluetooth-frwk/bluetooth-frwk.inc @@ -151,7 +151,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/bluetooth/bluetooth.inc b/recipes-tizen/bluetooth/bluetooth.inc index d741fdd..af82a9e 100644 --- a/recipes-tizen/bluetooth/bluetooth.inc +++ b/recipes-tizen/bluetooth/bluetooth.inc @@ -108,13 +108,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/bundle/bundle.inc b/recipes-tizen/bundle/bundle.inc index 30ed8bd..52ddec4 100644 --- a/recipes-tizen/bundle/bundle.inc +++ b/recipes-tizen/bundle/bundle.inc @@ -102,13 +102,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/chromium/chromium.inc b/recipes-tizen/chromium/chromium.inc index afa163c..d340c7a 100644 --- a/recipes-tizen/chromium/chromium.inc +++ b/recipes-tizen/chromium/chromium.inc @@ -101,13 +101,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/com-core/com-core.inc b/recipes-tizen/com-core/com-core.inc index 5acace0..8fc1078 100644 --- a/recipes-tizen/com-core/com-core.inc +++ b/recipes-tizen/com-core/com-core.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_libcom-core() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_libcom-core() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/connection/connection.inc b/recipes-tizen/connection/connection.inc index cdb2c3a..74673cd 100644 --- a/recipes-tizen/connection/connection.inc +++ b/recipes-tizen/connection/connection.inc @@ -113,13 +113,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/device/device.inc b/recipes-tizen/device/device.inc index b0b5804..5e69693 100644 --- a/recipes-tizen/device/device.inc +++ b/recipes-tizen/device/device.inc @@ -106,13 +106,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/devman/devman.inc b/recipes-tizen/devman/devman.inc index 8cf471d..310cdca 100644 --- a/recipes-tizen/devman/devman.inc +++ b/recipes-tizen/devman/devman.inc @@ -113,13 +113,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/dlog/dlog.inc b/recipes-tizen/dlog/dlog.inc index 6041190..4367410 100644 --- a/recipes-tizen/dlog/dlog.inc +++ b/recipes-tizen/dlog/dlog.inc @@ -138,13 +138,13 @@ do_install() { pkg_postinst_libdlog() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_libdlog() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/download-provider/download-provider.inc b/recipes-tizen/download-provider/download-provider.inc index 6ce3e82..2481bfb 100644 --- a/recipes-tizen/download-provider/download-provider.inc +++ b/recipes-tizen/download-provider/download-provider.inc @@ -159,7 +159,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || : } diff --git a/recipes-tizen/drm-client/drm-client.inc b/recipes-tizen/drm-client/drm-client.inc index 8700b34..fded1fa 100644 --- a/recipes-tizen/drm-client/drm-client.inc +++ b/recipes-tizen/drm-client/drm-client.inc @@ -104,13 +104,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/favorites/favorites.inc b/recipes-tizen/favorites/favorites.inc index c941b63..24602f1 100644 --- a/recipes-tizen/favorites/favorites.inc +++ b/recipes-tizen/favorites/favorites.inc @@ -108,7 +108,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/heynoti/heynoti.inc b/recipes-tizen/heynoti/heynoti.inc index ba53fc9..a5282a1 100644 --- a/recipes-tizen/heynoti/heynoti.inc +++ b/recipes-tizen/heynoti/heynoti.inc @@ -110,13 +110,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/iniparser/iniparser.inc b/recipes-tizen/iniparser/iniparser.inc index 0755538..801dea5 100644 --- a/recipes-tizen/iniparser/iniparser.inc +++ b/recipes-tizen/iniparser/iniparser.inc @@ -92,13 +92,13 @@ EOF pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libdevice-node/libdevice-node.inc b/recipes-tizen/libdevice-node/libdevice-node.inc index 8575aed..0455093 100644 --- a/recipes-tizen/libdevice-node/libdevice-node.inc +++ b/recipes-tizen/libdevice-node/libdevice-node.inc @@ -100,13 +100,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libhaptic/libhaptic.inc b/recipes-tizen/libhaptic/libhaptic.inc index aa813ba..c101618 100644 --- a/recipes-tizen/libhaptic/libhaptic.inc +++ b/recipes-tizen/libhaptic/libhaptic.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libmedia-service/libmedia-service.inc b/recipes-tizen/libmedia-service/libmedia-service.inc index 9b4ff6c..422a5ab 100644 --- a/recipes-tizen/libmedia-service/libmedia-service.inc +++ b/recipes-tizen/libmedia-service/libmedia-service.inc @@ -120,13 +120,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc b/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc index 94532fa..06f02bd 100644 --- a/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc +++ b/recipes-tizen/libmedia-thumbnail/libmedia-thumbnail.inc @@ -128,13 +128,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libmm-common/libmm-common.inc b/recipes-tizen/libmm-common/libmm-common.inc index 75f3b3c..a5f755b 100644 --- a/recipes-tizen/libmm-common/libmm-common.inc +++ b/recipes-tizen/libmm-common/libmm-common.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc b/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc index a6cae77..a1cb424 100644 --- a/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc +++ b/recipes-tizen/libmm-fileinfo/libmm-fileinfo.inc @@ -135,13 +135,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libmm-session/libmm-session.inc b/recipes-tizen/libmm-session/libmm-session.inc index 3e8d857..c01322e 100644 --- a/recipes-tizen/libmm-session/libmm-session.inc +++ b/recipes-tizen/libmm-session/libmm-session.inc @@ -129,13 +129,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libmm-sound/libmm-sound.inc b/recipes-tizen/libmm-sound/libmm-sound.inc index d803415..83be3e8 100644 --- a/recipes-tizen/libmm-sound/libmm-sound.inc +++ b/recipes-tizen/libmm-sound/libmm-sound.inc @@ -144,7 +144,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libmm-ta/libmm-ta.inc b/recipes-tizen/libmm-ta/libmm-ta.inc index 3bdbacc..a127ac3 100644 --- a/recipes-tizen/libmm-ta/libmm-ta.inc +++ b/recipes-tizen/libmm-ta/libmm-ta.inc @@ -128,13 +128,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libmm-utility/libmm-utility.inc b/recipes-tizen/libmm-utility/libmm-utility.inc index aba9bf0..9a20f75 100644 --- a/recipes-tizen/libmm-utility/libmm-utility.inc +++ b/recipes-tizen/libmm-utility/libmm-utility.inc @@ -127,13 +127,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libnet-client/libnet-client.inc b/recipes-tizen/libnet-client/libnet-client.inc index 12fcef2..5f45c36 100644 --- a/recipes-tizen/libnet-client/libnet-client.inc +++ b/recipes-tizen/libnet-client/libnet-client.inc @@ -146,13 +146,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libprivilege-control/libprivilege-control.inc b/recipes-tizen/libprivilege-control/libprivilege-control.inc index 68a2a64..91196b6 100644 --- a/recipes-tizen/libprivilege-control/libprivilege-control.inc +++ b/recipes-tizen/libprivilege-control/libprivilege-control.inc @@ -124,7 +124,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/librua/librua.inc b/recipes-tizen/librua/librua.inc index df2f389..7b7e79f 100644 --- a/recipes-tizen/librua/librua.inc +++ b/recipes-tizen/librua/librua.inc @@ -108,13 +108,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libslp-db-util/libslp-db-util.inc b/recipes-tizen/libslp-db-util/libslp-db-util.inc index f772953..90c218e 100644 --- a/recipes-tizen/libslp-db-util/libslp-db-util.inc +++ b/recipes-tizen/libslp-db-util/libslp-db-util.inc @@ -103,13 +103,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libslp-location/libslp-location.inc b/recipes-tizen/libslp-location/libslp-location.inc index 56c9903..19df05c 100644 --- a/recipes-tizen/libslp-location/libslp-location.inc +++ b/recipes-tizen/libslp-location/libslp-location.inc @@ -117,7 +117,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libslp-pm/libslp-pm.inc b/recipes-tizen/libslp-pm/libslp-pm.inc index b5f3787..c467e9b 100644 --- a/recipes-tizen/libslp-pm/libslp-pm.inc +++ b/recipes-tizen/libslp-pm/libslp-pm.inc @@ -104,13 +104,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libslp-sensor/libslp-sensor.inc b/recipes-tizen/libslp-sensor/libslp-sensor.inc index 9705afc..ca3503f 100644 --- a/recipes-tizen/libslp-sensor/libslp-sensor.inc +++ b/recipes-tizen/libslp-sensor/libslp-sensor.inc @@ -104,13 +104,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libslp-sysman/libslp-sysman.inc b/recipes-tizen/libslp-sysman/libslp-sysman.inc index ec4bf78..5678987 100644 --- a/recipes-tizen/libslp-sysman/libslp-sysman.inc +++ b/recipes-tizen/libslp-sysman/libslp-sysman.inc @@ -118,13 +118,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libtapi-legacy/libtapi-legacy.inc b/recipes-tizen/libtapi-legacy/libtapi-legacy.inc index 10d9325..957e309 100644 --- a/recipes-tizen/libtapi-legacy/libtapi-legacy.inc +++ b/recipes-tizen/libtapi-legacy/libtapi-legacy.inc @@ -111,13 +111,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libtapi/libtapi.inc b/recipes-tizen/libtapi/libtapi.inc index 0c129fb..4133d17 100644 --- a/recipes-tizen/libtapi/libtapi.inc +++ b/recipes-tizen/libtapi/libtapi.inc @@ -105,13 +105,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/libwifi-direct/libwifi-direct.inc b/recipes-tizen/libwifi-direct/libwifi-direct.inc index c0b4999..a33a4a8 100644 --- a/recipes-tizen/libwifi-direct/libwifi-direct.inc +++ b/recipes-tizen/libwifi-direct/libwifi-direct.inc @@ -109,13 +109,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/location-manager/location-manager.inc b/recipes-tizen/location-manager/location-manager.inc index ff66484..fefb60e 100644 --- a/recipes-tizen/location-manager/location-manager.inc +++ b/recipes-tizen/location-manager/location-manager.inc @@ -105,13 +105,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/lua/lua.inc b/recipes-tizen/lua/lua.inc index 0f5f7fb..eb7b9d5 100644 --- a/recipes-tizen/lua/lua.inc +++ b/recipes-tizen/lua/lua.inc @@ -97,13 +97,13 @@ do_install() { pkg_postinst_liblua() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_liblua() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/media-content/media-content.inc b/recipes-tizen/media-content/media-content.inc index bcd1544..c85d21a 100644 --- a/recipes-tizen/media-content/media-content.inc +++ b/recipes-tizen/media-content/media-content.inc @@ -111,13 +111,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/media-server/media-server.inc b/recipes-tizen/media-server/media-server.inc index 145ce8d..259f217 100644 --- a/recipes-tizen/media-server/media-server.inc +++ b/recipes-tizen/media-server/media-server.inc @@ -165,7 +165,7 @@ do_install() { pkg_postinst_libmedia-utils() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postinst_${PN}() { @@ -184,7 +184,7 @@ pkg_postinst_${PN}() { pkg_postrm_libmedia-utils() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/message-port/message-port.inc b/recipes-tizen/message-port/message-port.inc index b2ddabb..8939058 100644 --- a/recipes-tizen/message-port/message-port.inc +++ b/recipes-tizen/message-port/message-port.inc @@ -117,13 +117,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/notification/notification.inc b/recipes-tizen/notification/notification.inc index 2bc93ec..d1379ea 100644 --- a/recipes-tizen/notification/notification.inc +++ b/recipes-tizen/notification/notification.inc @@ -128,7 +128,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/package-manager/package-manager.inc b/recipes-tizen/package-manager/package-manager.inc index 6852e71..f215676 100644 --- a/recipes-tizen/package-manager/package-manager.inc +++ b/recipes-tizen/package-manager/package-manager.inc @@ -110,13 +110,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/pam/pam.inc b/recipes-tizen/pam/pam.inc index 6775f29..f18abd3 100644 --- a/recipes-tizen/pam/pam.inc +++ b/recipes-tizen/pam/pam.inc @@ -166,7 +166,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/pkgmgr-info/pkgmgr-info.inc b/recipes-tizen/pkgmgr-info/pkgmgr-info.inc index c5e89e5..438dd0b 100644 --- a/recipes-tizen/pkgmgr-info/pkgmgr-info.inc +++ b/recipes-tizen/pkgmgr-info/pkgmgr-info.inc @@ -122,25 +122,25 @@ do_install() { pkg_postinst_pkgmgr-info-parser() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_pkgmgr-info-parser() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/power/power.inc b/recipes-tizen/power/power.inc index 5a9c2c5..33bc0bd 100644 --- a/recipes-tizen/power/power.inc +++ b/recipes-tizen/power/power.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/privacy-manager/privacy-manager.inc b/recipes-tizen/privacy-manager/privacy-manager.inc index ef8aeb5..dc4f11d 100644 --- a/recipes-tizen/privacy-manager/privacy-manager.inc +++ b/recipes-tizen/privacy-manager/privacy-manager.inc @@ -163,13 +163,13 @@ do_install() { pkg_postinst_privacy-manager-client() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postinst_privacy-manager-server() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_capi-security-privacy-manager() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_privacy-manager-client() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/rpm/rpm.inc b/recipes-tizen/rpm/rpm.inc index 3e54bea..991fab8 100644 --- a/recipes-tizen/rpm/rpm.inc +++ b/recipes-tizen/rpm/rpm.inc @@ -289,7 +289,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig } diff --git a/recipes-tizen/runtime-info/runtime-info.inc b/recipes-tizen/runtime-info/runtime-info.inc index 3610d07..ef41355 100644 --- a/recipes-tizen/runtime-info/runtime-info.inc +++ b/recipes-tizen/runtime-info/runtime-info.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/security-server/security-server.inc b/recipes-tizen/security-server/security-server.inc index 85b1d1f..4bcc856 100644 --- a/recipes-tizen/security-server/security-server.inc +++ b/recipes-tizen/security-server/security-server.inc @@ -186,13 +186,13 @@ pkg_postinst_${PN}() { pkg_postinst_libsecurity-server-client() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postinst_libsecurity-manager-client() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_prerm_${PN}() { @@ -208,7 +208,7 @@ pkg_prerm_${PN}() { pkg_postrm_libsecurity-manager-client() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { @@ -224,7 +224,7 @@ pkg_postrm_${PN}() { pkg_postrm_libsecurity-server-client() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/sensor/sensor.inc b/recipes-tizen/sensor/sensor.inc index 7a42442..ecb0502 100644 --- a/recipes-tizen/sensor/sensor.inc +++ b/recipes-tizen/sensor/sensor.inc @@ -110,13 +110,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc b/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc index ddd8aaa..6a9a9f0 100644 --- a/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc +++ b/recipes-tizen/slp-pkgmgr/slp-pkgmgr.inc @@ -157,19 +157,19 @@ do_install() { pkg_postinst_pkgmgr-installer() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postinst_pkgmgr-server() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_pkgmgr-client() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_pkgmgr-installer() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/smack/smack.inc b/recipes-tizen/smack/smack.inc index 32fd21b..1478074 100644 --- a/recipes-tizen/smack/smack.inc +++ b/recipes-tizen/smack/smack.inc @@ -118,13 +118,13 @@ do_install() { pkg_postinst_libsmack() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_libsmack() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/sound-manager/sound-manager.inc b/recipes-tizen/sound-manager/sound-manager.inc index 71159cb..aec4277 100644 --- a/recipes-tizen/sound-manager/sound-manager.inc +++ b/recipes-tizen/sound-manager/sound-manager.inc @@ -107,13 +107,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/status/status.inc b/recipes-tizen/status/status.inc index 12d3f5b..819d93d 100644 --- a/recipes-tizen/status/status.inc +++ b/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 } - ldconfig + [ "x\$D" != "x" ] && ldconfig init_vconf } @@ -129,7 +129,7 @@ pkg_postinst_${PN}() { pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/syspopup/syspopup.inc b/recipes-tizen/syspopup/syspopup.inc index 582a8e6..35702dd 100644 --- a/recipes-tizen/syspopup/syspopup.inc +++ b/recipes-tizen/syspopup/syspopup.inc @@ -134,25 +134,25 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/system-info/system-info.inc b/recipes-tizen/system-info/system-info.inc index a882348..12652bc 100644 --- a/recipes-tizen/system-info/system-info.inc +++ b/recipes-tizen/system-info/system-info.inc @@ -110,13 +110,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/system-settings/system-settings.inc b/recipes-tizen/system-settings/system-settings.inc index 8b201fc..782c4ed 100644 --- a/recipes-tizen/system-settings/system-settings.inc +++ b/recipes-tizen/system-settings/system-settings.inc @@ -115,13 +115,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/systemd/systemd.inc b/recipes-tizen/systemd/systemd.inc index 21f7897..27f3c84 100644 --- a/recipes-tizen/systemd/systemd.inc +++ b/recipes-tizen/systemd/systemd.inc @@ -303,13 +303,13 @@ pkg_postinst_${PN}() { pkg_postinst_libgudev() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postinst_libsystemd() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_prerm_${PN}() { @@ -329,13 +329,13 @@ pkg_prerm_${PN}() { pkg_postrm_libgudev() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_libsystemd() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { diff --git a/recipes-tizen/tethering/tethering.inc b/recipes-tizen/tethering/tethering.inc index 179e6b0..b9c9fa0 100644 --- a/recipes-tizen/tethering/tethering.inc +++ b/recipes-tizen/tethering/tethering.inc @@ -104,13 +104,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/tizen-platform-config/tizen-platform-config.inc b/recipes-tizen/tizen-platform-config/tizen-platform-config.inc index fa08150..d66f39c 100644 --- a/recipes-tizen/tizen-platform-config/tizen-platform-config.inc +++ b/recipes-tizen/tizen-platform-config/tizen-platform-config.inc @@ -118,13 +118,13 @@ do_install() { pkg_postinst_libtzplatform-config() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_libtzplatform-config() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/url-download/url-download.inc b/recipes-tizen/url-download/url-download.inc index a3cd5e1..d6bc87c 100644 --- a/recipes-tizen/url-download/url-download.inc +++ b/recipes-tizen/url-download/url-download.inc @@ -105,13 +105,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" diff --git a/recipes-tizen/vconf/vconf.inc b/recipes-tizen/vconf/vconf.inc index 41bdf34..b282ad3 100644 --- a/recipes-tizen/vconf/vconf.inc +++ b/recipes-tizen/vconf/vconf.inc @@ -124,7 +124,7 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - 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 - ldconfig + [ "x\$D" != "x" ] && ldconfig systemctl daemon-reload } diff --git a/recipes-tizen/xdgmime/xdgmime.inc b/recipes-tizen/xdgmime/xdgmime.inc index ca1aac3..b3b0103 100644 --- a/recipes-tizen/xdgmime/xdgmime.inc +++ b/recipes-tizen/xdgmime/xdgmime.inc @@ -100,13 +100,13 @@ do_install() { pkg_postinst_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } pkg_postrm_${PN}() { #!/bin/sh -e - ldconfig + [ "x\$D" != "x" ] && ldconfig } PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale" -- 2.7.4