[Pkg-cli-libs-commits] [SCM] semweb branch, master, updated. upstream/1.05+dfsg-18-gc7f01b2

David Paleino d.paleino at gmail.com
Fri Sep 25 21:50:23 UTC 2009


The following commit has been merged in the master branch:
commit a8f970246fdd8a300d10082fde280431be5ccf32
Author: David Paleino <d.paleino at gmail.com>
Date:   Fri Sep 25 23:46:37 2009 +0200

    debian/monodoc-semweb-manual.post*: fix monodoc calls

diff --git a/debian/changelog b/debian/changelog
index d13c676..ff389a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,8 +17,9 @@ semweb (1.05+dfsg-3) UNRELEASED; urgency=low
       debian/control)
     + added DEP-3 headers
   * debian/copyright: updated FSF postal address
+  * debian/monodoc-semweb-manual.post*: fix monodoc calls
 
- -- David Paleino <d.paleino at gmail.com>  Fri, 25 Sep 2009 23:39:28 +0200
+ -- David Paleino <d.paleino at gmail.com>  Fri, 25 Sep 2009 23:43:44 +0200
 
 semweb (1.05+dfsg-2) unstable; urgency=low
 
diff --git a/debian/monodoc-semweb-manual.postinst b/debian/monodoc-semweb-manual.postinst
index 95835ea..209bb26 100644
--- a/debian/monodoc-semweb-manual.postinst
+++ b/debian/monodoc-semweb-manual.postinst
@@ -8,11 +8,11 @@ if [ "$1" = "configure" ]; then
 	           > /usr/lib/monodoc/monodoc.xml.new
 	mv /usr/lib/monodoc/monodoc.xml.new \
 	   /usr/lib/monodoc/monodoc.xml
-	
+
 	# Rebuild the index
-	if [ -x /usr/bin/monodoc ]; then
+	if [ -n "$(which monodoc)" ]; then
 		echo "generating monodoc search index..."
-		/usr/bin/monodoc --make-index > /dev/null
+		monodoc --make-index > /dev/null
 	fi
 fi
 
diff --git a/debian/monodoc-semweb-manual.postrm b/debian/monodoc-semweb-manual.postrm
index 98cf2f8..ff36bf8 100644
--- a/debian/monodoc-semweb-manual.postrm
+++ b/debian/monodoc-semweb-manual.postrm
@@ -9,10 +9,10 @@ if [ "$1" = "remove" ]; then
 	   /usr/lib/monodoc/monodoc.xml
 
 	# Rebuild the index
-	if [ -x /usr/bin/monodoc ]; then
+	if [ -n "$(which monodoc)" ]; then
 		echo "generating monodoc search index..."
-		/usr/bin/monodoc --make-index > /dev/null
+		monodoc --make-index > /dev/null
 	fi
 fi
-                
+
 #DEBHELPER#

-- 
semweb



More information about the Pkg-cli-libs-commits mailing list