summaryrefslogtreecommitdiffstats
path: root/debian/_base/core/tdelibs
diff options
context:
space:
mode:
Diffstat (limited to 'debian/_base/core/tdelibs')
-rw-r--r--debian/_base/core/tdelibs/debian/cdbs/debian-tde.mk5
-rw-r--r--debian/_base/core/tdelibs/debian/tdelibs-data-trinity.postinst1
-rw-r--r--debian/_base/core/tdelibs/debian/tdelibs-data-trinity.postrm1
3 files changed, 5 insertions, 2 deletions
diff --git a/debian/_base/core/tdelibs/debian/cdbs/debian-tde.mk b/debian/_base/core/tdelibs/debian/cdbs/debian-tde.mk
index b031e6981..aba508624 100644
--- a/debian/_base/core/tdelibs/debian/cdbs/debian-tde.mk
+++ b/debian/_base/core/tdelibs/debian/cdbs/debian-tde.mk
@@ -202,6 +202,11 @@ $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
install -p -D -m644 debian/$(cdbs_curpkg).presubj \
debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
fi
+ if test -d debian/$(cdbs_curpkg)/opt/trinity/lib && \
+ test $$(find debian/$(cdbs_curpkg)/opt/trinity/lib -name "*.so" | wc -l) -gt 0; then \
+ echo "# Triggers added by cdbs/debian-tde.mk" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ echo "activate-noawait ldconfig" >> debian/.debhelper/generated/$(cdbs_curpkg)/triggers; \
+ fi
binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
set -e; \
diff --git a/debian/_base/core/tdelibs/debian/tdelibs-data-trinity.postinst b/debian/_base/core/tdelibs/debian/tdelibs-data-trinity.postinst
index f2a8d925b..99078621c 100644
--- a/debian/_base/core/tdelibs/debian/tdelibs-data-trinity.postinst
+++ b/debian/_base/core/tdelibs/debian/tdelibs-data-trinity.postinst
@@ -7,7 +7,6 @@ MD5SUM340="ea26be9e934fb23c04b0b1409706bace"
case "$1" in
upgrade|install)
- ldconfig
;;
abort-upgrade)
diff --git a/debian/_base/core/tdelibs/debian/tdelibs-data-trinity.postrm b/debian/_base/core/tdelibs/debian/tdelibs-data-trinity.postrm
index aae9f3600..40c135b0c 100644
--- a/debian/_base/core/tdelibs/debian/tdelibs-data-trinity.postrm
+++ b/debian/_base/core/tdelibs/debian/tdelibs-data-trinity.postrm
@@ -7,7 +7,6 @@ MD5SUM340="ea26be9e934fb23c04b0b1409706bace"
case "$1" in
remove)
- ldconfig
;;
abort-upgrade)