[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 7a2336425d68a734602ae059b643dc951feaef52
Author: Iain Lane <laney at ubuntu.com>
Date:   Fri Nov 27 23:33:28 2009 +0000

    Call trigger on new install
    
    Executing directly didn't solve the problem. And we need to call for new
    installs to generate the initial index.

diff --git a/debian/changelog b/debian/changelog
index 8351788..c56b25e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,8 +9,8 @@ mono (2.4.2.3+dfsg-4) UNRELEASED; urgency=low
 
   [ 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
+    to - i.e. when we are being triggered (by a lib installing new docs) or
+    upon a new install of monodoc-base (to generate the initial index)
 
  -- Jo Shields <directhex at apebox.org>  Fri, 27 Nov 2009 13:34:49 +0000
 
diff --git a/debian/monodoc-base.postinst b/debian/monodoc-base.postinst
index 9a82745..c900e86 100644
--- a/debian/monodoc-base.postinst
+++ b/debian/monodoc-base.postinst
@@ -4,8 +4,8 @@ set -e
 case "$1" in
     configure)
         
-        if dpkg --compare-versions "$2" lt-nl "2.4.2.3+dfsg-4"; then
-            /usr/bin/update-monodoc
+        if [ "$2" = "" ]; then
+            /usr/bin/dpkg-trigger --by-package=monodoc-base /usr/lib/monodoc/sources
         fi
 
         ;;

-- 
mono



More information about the Pkg-mono-svn-commits mailing list