tags 575803 + patch
block 574202 by 575803
block 574204 by 575803
block 574207 by 575803
block 574212 by 575803
block 574215 by 575803
thanks

Here's the patch. woo!
From e5fd97965c2113ee7c84e4ce3fe50ae151dc79d2 Mon Sep 17 00:00:00 2001
From: Iain Lane <[email protected]>
Date: Mon, 29 Mar 2010 14:19:22 +0100
Subject: [PATCH] Check whether monodoc-browser is configured in trigger

* debian/update-monodoc: Check whether monodoc-browser is configured before
  generating the search index in the trigger. Previously the lack of this
  caused uninstallability due to monodoc not being able to find GTK# in the
  GAC. (Closes: #575803)
---
 debian/changelog      |    9 ++++++++-
 debian/update-monodoc |    2 +-
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 3199cc0..6616d65 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,16 @@
-mono (2.4.4~svn151842-2~pre1) unstable; urgency=low
+mono (2.4.4~svn151842-2~pre1) UNRELEASED; urgency=low
 
+  [ Mirco Bauer ]
   * NOT RELEASED YET
   * debian/control:
     + Changed section of libmono-dev back to cli-mono.
 
+  [ Iain Lane ]
+  * debian/update-monodoc: Check whether monodoc-browser is configured before
+    generating the search index in the trigger. Previously the lack of this
+    caused uninstallability due to monodoc not being able to find GTK# in the
+    GAC. (Closes: #575803)
+
  -- Mirco Bauer <[email protected]>  Sat, 20 Feb 2010 12:13:59 +0100
 
 mono (2.4.4~svn151842-1) unstable; urgency=medium
diff --git a/debian/update-monodoc b/debian/update-monodoc
index ffa00e2..beb30c2 100755
--- a/debian/update-monodoc
+++ b/debian/update-monodoc
@@ -1,6 +1,6 @@
 #!/bin/sh
 set -e
-if [ ! -x /usr/lib/monodoc/browser.exe ]; then
+if [ ! -x /usr/lib/monodoc/browser.exe -o ! $(dpkg-query -W -f=\'${Status}\' monodoc-browser 2>/dev/null | grep "ok installed") ]; then
 	# nothing to do
 	exit 0
 fi
-- 
1.7.0

Attachment: signature.asc
Description: Digital signature

Reply via email to