[Pkg-cli-libs-commits] r3822 - in /packages/libanculus-sharp/trunk/debian: monodoc-anculus-manual.postinst monodoc-anculus-manual.postrm

hanska-guest at users.alioth.debian.org hanska-guest at users.alioth.debian.org
Thu Sep 18 12:19:46 UTC 2008


Author: hanska-guest
Date: Thu Sep 18 12:19:45 2008
New Revision: 3822

URL: http://svn.debian.org/wsvn/pkg-cli-libs/?sc=1&rev=3822
Log:
Fixing some lintian warnings

Modified:
    packages/libanculus-sharp/trunk/debian/monodoc-anculus-manual.postinst
    packages/libanculus-sharp/trunk/debian/monodoc-anculus-manual.postrm

Modified: packages/libanculus-sharp/trunk/debian/monodoc-anculus-manual.postinst
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/libanculus-sharp/trunk/debian/monodoc-anculus-manual.postinst?rev=3822&op=diff
==============================================================================
--- packages/libanculus-sharp/trunk/debian/monodoc-anculus-manual.postinst (original)
+++ packages/libanculus-sharp/trunk/debian/monodoc-anculus-manual.postinst Thu Sep 18 12:19:45 2008
@@ -10,9 +10,9 @@
 		/usr/lib/monodoc/monodoc.xml
 	
 	# Rebuild the index
-	if [ -x /usr/bin/monodoc ]; then
+	if [ -x $(which monodoc) ]; then
 		echo "generating monodoc search index..."
-		/usr/bin/monodoc --make-index > /dev/null
+		monodoc --make-index > /dev/null
 	fi
 fi
 

Modified: packages/libanculus-sharp/trunk/debian/monodoc-anculus-manual.postrm
URL: http://svn.debian.org/wsvn/pkg-cli-libs/packages/libanculus-sharp/trunk/debian/monodoc-anculus-manual.postrm?rev=3822&op=diff
==============================================================================
--- packages/libanculus-sharp/trunk/debian/monodoc-anculus-manual.postrm (original)
+++ packages/libanculus-sharp/trunk/debian/monodoc-anculus-manual.postrm Thu Sep 18 12:19:45 2008
@@ -9,7 +9,7 @@
 		/usr/lib/monodoc/monodoc.xml
 	
 	# Rebuild the index
-	if [ -x /usr/bin/monodoc ]; then
+	if [ -x $(which monodoc) ]; then
 		echo "generating monodoc search index..."
 		/usr/bin/monodoc --make-index > /dev/null
 	fi




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