[lttoolbox] 01/02: Use dpkg triggers to replace ldconfig call by postinst script

Kartik Mistry kartik at moszumanska.debian.org
Tue Jun 7 06:10:05 UTC 2016


This is an automated email from the git hooks/post-receive script.

kartik pushed a commit to tag debian/3.3.3_r68466-1
in repository lttoolbox.

commit d9cd59f1ccee24f2dd9b878cb89852814c91449a
Author: Kartik Mistry <kartik.mistry at gmail.com>
Date:   Tue Jun 7 11:06:30 2016 +0530

    Use dpkg triggers to replace ldconfig call by postinst script
---
 debian/changelog                      | 3 ++-
 debian/liblttoolbox3-3.3-0v5.postinst | 8 --------
 debian/liblttoolbox3-3.3-0v5.triggers | 1 +
 3 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 5f77fde..99233c4 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,8 +7,9 @@ lttoolbox (3.3.3~r68466-1) unstable; urgency=low
     + Updated Standards-Version to 3.9.8
   * debian/rules:
     + Disable static libraries.
+  * Use debian/<package>.triggers to replace ldconfig call by dpkg triggers.
 
- -- Kartik Mistry <kartik at debian.org>  Tue, 07 Jun 2016 10:35:25 +0530
+ -- Kartik Mistry <kartik at debian.org>  Tue, 07 Jun 2016 11:04:54 +0530
 
 lttoolbox (3.3.2~r63423-3) unstable; urgency=low
 
diff --git a/debian/liblttoolbox3-3.3-0v5.postinst b/debian/liblttoolbox3-3.3-0v5.postinst
deleted file mode 100644
index 7df96b6..0000000
--- a/debian/liblttoolbox3-3.3-0v5.postinst
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-set -e
-
-#DEBHELPER#
-
-ldconfig
-
-exit 0
diff --git a/debian/liblttoolbox3-3.3-0v5.triggers b/debian/liblttoolbox3-3.3-0v5.triggers
new file mode 100644
index 0000000..dd86603
--- /dev/null
+++ b/debian/liblttoolbox3-3.3-0v5.triggers
@@ -0,0 +1 @@
+activate-noawait ldconfig

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lttoolbox.git



More information about the debian-science-commits mailing list