[pkg-fso-commits] [libphone-utils] 07/10: readd multi-arch support

Sebastian Reichel sre at moszumanska.debian.org
Sun Aug 28 18:09:11 UTC 2016


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

sre pushed a commit to branch master
in repository libphone-utils.

commit 77fba3a76cc48e2db5294a3067a2d1def4318913
Author: Sebastian Reichel <sre at ring0.de>
Date:   Sun Aug 28 19:31:15 2016 +0200

    readd multi-arch support
---
 debian/changelog              | 1 +
 debian/control                | 1 +
 debian/libphone-utils0.postrm | 2 +-
 3 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 135a781..a5688bc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ libphone-utils (0.1+git20110523-3) UNRELEASED; urgency=low
   * Update to Debian Standards Version 3.9.8
   * Switch to canonical and secure VCS urls
   * Drop -dbg package in favour of auto-generated dbgsym package
+  * (re)-add multi-arch support for libphone-utils0
 
  -- Sebastian Reichel <sre at debian.org>  Sun, 28 Aug 2016 19:17:59 +0200
 
diff --git a/debian/control b/debian/control
index 27b14c1..d54d8f0 100644
--- a/debian/control
+++ b/debian/control
@@ -14,6 +14,7 @@ Vcs-browser: https://anonscm.debian.org/cgit/pkg-fso/libphone-utils.git
 
 Package: libphone-utils0
 Architecture: any
+Multi-Arch: same
 Depends: ${shlibs:Depends},
          ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
diff --git a/debian/libphone-utils0.postrm b/debian/libphone-utils0.postrm
index 2c52230..44b22d4 100644
--- a/debian/libphone-utils0.postrm
+++ b/debian/libphone-utils0.postrm
@@ -3,7 +3,7 @@
 
 set -e
 
-if [ "$1" = "purge" ] ; then
+if [ "$1" = "purge" ] && [ "$(dpkg-query --show libphone-utils0 2> /dev/null | wc -l)" = 1 ] ; then
 	if [ -f /etc/phone-utils.conf ] ; then
 		rm /etc/phone-utils.conf
 	fi

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-fso/libphone-utils.git



More information about the pkg-fso-commits mailing list