[Pkg-mono-svn-commits] [SCM] mono branch, master, updated. debian/2.4.2.3+dfsg-3-3-g7a23364
Iain Lane
laney at ubuntu.com
Sat Nov 28 00:57:20 UTC 2009
The following commit has been merged in the master branch:
commit c0ac95d676fd1cb4ac813b2c47b620c29afa2085
Author: Iain Lane <laney at ubuntu.com>
Date: Fri Nov 27 21:05:12 2009 +0000
Case monodoc-base postinst to update index when necessary
debian/monodoc-base.postinst: Only update the monodoc index when we need to - i.e. when we are being triggered or upon upgrading from a pre-2.4.2.3+dfsg-4 version
diff --git a/debian/changelog b/debian/changelog
index e623f84..8351788 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,11 +1,17 @@
mono (2.4.2.3+dfsg-4) UNRELEASED; urgency=low
+ [ Jo Shields ]
* debian/monodoc-base.postinst,
debian/monodoc-base.triggers,
debian/monodoc-base.install,
debian/update-monodoc:
+ Add a trigger to handle installation of documentation into monodoc
+ [ Iain Lane ]
+ * debian/monodoc-base.postinst: Only update the monodoc index when we need
+ to - i.e. when we are being triggered or upon upgrading from a
+ pre-2.4.2.3+dfsg-4 version
+
-- Jo Shields <directhex at apebox.org> Fri, 27 Nov 2009 13:34:49 +0000
mono (2.4.2.3+dfsg-3) unstable; urgency=low
diff --git a/debian/monodoc-base.postinst b/debian/monodoc-base.postinst
index 7cf593b..9a82745 100644
--- a/debian/monodoc-base.postinst
+++ b/debian/monodoc-base.postinst
@@ -1,5 +1,21 @@
-#!/bin/sh -e
+#!/bin/sh
+set -e
-/usr/bin/update-monodoc
+case "$1" in
+ configure)
+
+ if dpkg --compare-versions "$2" lt-nl "2.4.2.3+dfsg-4"; then
+ /usr/bin/update-monodoc
+ fi
+
+ ;;
+
+ triggered)
+
+ /usr/bin/update-monodoc
+
+ ;;
+
+esac
#DEBHELPER#
--
mono
More information about the Pkg-mono-svn-commits
mailing list