[Fusionforge-commits] r7216 - trunk/gforge/debian

Christian Bayle cbayle at libremir.placard.fr.eu.org
Fri Mar 20 23:56:39 CET 2009


Author: cbayle
Date: 2009-03-20 23:56:39 +0100 (Fri, 20 Mar 2009)
New Revision: 7216

Modified:
   trunk/gforge/debian/gforge-common.postinst
   trunk/gforge/debian/gforge-db-postgresql.postinst.dsfh-in
   trunk/gforge/debian/gforge-dns-bind9.postinst
   trunk/gforge/debian/gforge-ftp-proftpd.postinst
   trunk/gforge/debian/gforge-lists-mailman.postinst
   trunk/gforge/debian/gforge-mta-exim4.postinst
   trunk/gforge/debian/gforge-mta-postfix.postinst
   trunk/gforge/debian/gforge-plugin-scmcvs.postinst
   trunk/gforge/debian/gforge-plugin-scmcvs.prerm
   trunk/gforge/debian/gforge-plugin-scmsvn.postinst
   trunk/gforge/debian/gforge-plugin-scmsvn.prerm
   trunk/gforge/debian/gforge-shell-postgresql.postinst
   trunk/gforge/debian/gforge-web-apache2.postinst.dsfh-in
Log:
Fix lintian warning "command-with-path-in-maintainer-script"


Modified: trunk/gforge/debian/gforge-common.postinst
===================================================================
--- trunk/gforge/debian/gforge-common.postinst	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-common.postinst	2009-03-20 22:56:39 UTC (rev 7216)
@@ -32,7 +32,7 @@
 	adduser --system --group --home /var/lib/gforge/chroot/cvsroot scm-gforge > /dev/null 2>&1
 	adduser --system --group --home /var/lib/gforge/chroot/cvsroot www-gforge > /dev/null 2>&1
 
-	/usr/sbin/gforge-config
+	gforge-config
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Modified: trunk/gforge/debian/gforge-db-postgresql.postinst.dsfh-in
===================================================================
--- trunk/gforge/debian/gforge-db-postgresql.postinst.dsfh-in	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-db-postgresql.postinst.dsfh-in	2009-03-20 22:56:39 UTC (rev 7216)
@@ -56,7 +56,7 @@
     configure)
 	add_onevar_mainconfile default_trove_cat 18
 
-	/usr/sbin/gforge-config
+	gforge-config
 
         # Patch DB configuration files
 	/usr/lib/gforge/bin/install-db.sh configure-files

Modified: trunk/gforge/debian/gforge-dns-bind9.postinst
===================================================================
--- trunk/gforge/debian/gforge-dns-bind9.postinst	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-dns-bind9.postinst	2009-03-20 22:56:39 UTC (rev 7216)
@@ -27,7 +27,7 @@
 
 case "$1" in
     configure)
-	/usr/sbin/gforge-config
+	gforge-config
 
 	# Patch Bind configuration files
 	/usr/lib/gforge/bin/install-dns.sh configure-files

Modified: trunk/gforge/debian/gforge-ftp-proftpd.postinst
===================================================================
--- trunk/gforge/debian/gforge-ftp-proftpd.postinst	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-ftp-proftpd.postinst	2009-03-20 22:56:39 UTC (rev 7216)
@@ -27,7 +27,7 @@
 
 case "$1" in
     configure)
-	/usr/sbin/gforge-config
+	gforge-config
 
         # Patch Proftpd configuration files
 	/usr/lib/gforge/bin/install-ftp.sh configure-files

Modified: trunk/gforge/debian/gforge-lists-mailman.postinst
===================================================================
--- trunk/gforge/debian/gforge-lists-mailman.postinst	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-lists-mailman.postinst	2009-03-20 22:56:39 UTC (rev 7216)
@@ -27,7 +27,7 @@
 
 case "$1" in
     configure)
-	/usr/sbin/gforge-config
+	gforge-config
 	
 	echo "Fixing past damage in mailing-lists..."
 	if [ -z "$2" ] || dpkg --compare-versions $2 le 3rc2-4 ; then

Modified: trunk/gforge/debian/gforge-mta-exim4.postinst
===================================================================
--- trunk/gforge/debian/gforge-mta-exim4.postinst	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-mta-exim4.postinst	2009-03-20 22:56:39 UTC (rev 7216)
@@ -28,7 +28,7 @@
 case "$1" in
     configure)
 
-	/usr/sbin/gforge-config
+	gforge-config
         # Patch Exim configuration files
 	/usr/lib/gforge/bin/install-exim4.sh configure-files
 	if [ -f /etc/aliases.gforge-new ]

Modified: trunk/gforge/debian/gforge-mta-postfix.postinst
===================================================================
--- trunk/gforge/debian/gforge-mta-postfix.postinst	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-mta-postfix.postinst	2009-03-20 22:56:39 UTC (rev 7216)
@@ -27,7 +27,7 @@
 
 case "$1" in
     configure)
-	/usr/sbin/gforge-config
+	gforge-config
 
         # Patch Postfix configuration files
 	/usr/lib/gforge/bin/install-postfix.sh configure-files

Modified: trunk/gforge/debian/gforge-plugin-scmcvs.postinst
===================================================================
--- trunk/gforge/debian/gforge-plugin-scmcvs.postinst	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-plugin-scmcvs.postinst	2009-03-20 22:56:39 UTC (rev 7216)
@@ -25,18 +25,18 @@
 
 case "$1" in
     configure)
-	/usr/sbin/gforge-config
+	gforge-config
 
 	# Prepare database
 	su -s /bin/sh gforge -c '/usr/lib/gforge/bin/register-plugin scmcvs "CVS"'
 	test -f /etc/default/apache2 && . /etc/default/apache2
 	if [ "$NO_START" != "0" ]; then
 		if [ -x /usr/sbin/apache ]; then
-			/usr/sbin/invoke-rc.d --quiet apache reload
+			invoke-rc.d --quiet apache reload
 		fi
 	else
 		if [ -x /usr/sbin/apache2 ]; then
-			/usr/sbin/invoke-rc.d --quiet apache2 reload
+			invoke-rc.d --quiet apache2 reload
 		fi
 	fi
         # Setup our CVS

Modified: trunk/gforge/debian/gforge-plugin-scmcvs.prerm
===================================================================
--- trunk/gforge/debian/gforge-plugin-scmcvs.prerm	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-plugin-scmcvs.prerm	2009-03-20 22:56:39 UTC (rev 7216)
@@ -29,11 +29,11 @@
 	test -f /etc/default/apache2 && . /etc/default/apache2
 	if [ "$NO_START" != "0" ]; then
 		if [ -x /usr/sbin/apache ]; then
-			/usr/sbin/invoke-rc.d --quiet apache reload
+			invoke-rc.d --quiet apache reload
 		fi
 	else
 		if [ -x /usr/sbin/apache2 ]; then
-			/usr/sbin/invoke-rc.d --quiet apache2 reload
+			invoke-rc.d --quiet apache2 reload
 		fi
 	fi
         ;;

Modified: trunk/gforge/debian/gforge-plugin-scmsvn.postinst
===================================================================
--- trunk/gforge/debian/gforge-plugin-scmsvn.postinst	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-plugin-scmsvn.postinst	2009-03-20 22:56:39 UTC (rev 7216)
@@ -25,18 +25,18 @@
 
 case "$1" in
     configure)
-	/usr/sbin/gforge-config
+	gforge-config
 
 	# Prepare database
 	su -s /bin/sh gforge -c '/usr/lib/gforge/bin/register-plugin scmsvn "Subversion"'
 	test -f /etc/default/apache2 && . /etc/default/apache2
 	if [ "$NO_START" != "0" ]; then
 		if [ -x /usr/sbin/apache ]; then
-			/usr/sbin/invoke-rc.d --quiet apache reload
+			invoke-rc.d --quiet apache reload
 		fi
 	else
 		if [ -x /usr/sbin/apache2 ]; then
-			/usr/sbin/invoke-rc.d --quiet apache2 reload
+			invoke-rc.d --quiet apache2 reload
 		fi
 	fi
 

Modified: trunk/gforge/debian/gforge-plugin-scmsvn.prerm
===================================================================
--- trunk/gforge/debian/gforge-plugin-scmsvn.prerm	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-plugin-scmsvn.prerm	2009-03-20 22:56:39 UTC (rev 7216)
@@ -29,11 +29,11 @@
 	test -f /etc/default/apache2 && . /etc/default/apache2
 	if [ "$NO_START" != "0" ]; then
 		if [ -x /usr/sbin/apache ]; then
-			/usr/sbin/invoke-rc.d --quiet apache reload
+			invoke-rc.d --quiet apache reload
 		fi
 	else
 		if [ -x /usr/sbin/apache2 ]; then
-			/usr/sbin/invoke-rc.d --quiet apache2 reload
+			invoke-rc.d --quiet apache2 reload
 		fi
 	fi
         ;;

Modified: trunk/gforge/debian/gforge-shell-postgresql.postinst
===================================================================
--- trunk/gforge/debian/gforge-shell-postgresql.postinst	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-shell-postgresql.postinst	2009-03-20 22:56:39 UTC (rev 7216)
@@ -27,7 +27,7 @@
 
 case "$1" in
     configure)
-	/usr/sbin/gforge-config
+	gforge-config
 
         # Patch NSS configuration files
 	/usr/lib/gforge/bin/install-nsspgsql.sh configure-files

Modified: trunk/gforge/debian/gforge-web-apache2.postinst.dsfh-in
===================================================================
--- trunk/gforge/debian/gforge-web-apache2.postinst.dsfh-in	2009-03-20 14:16:37 UTC (rev 7215)
+++ trunk/gforge/debian/gforge-web-apache2.postinst.dsfh-in	2009-03-20 22:56:39 UTC (rev 7216)
@@ -69,7 +69,7 @@
 	    fi
 	fi
 	
-        /usr/sbin/gforge-config
+        gforge-config
 
 	db_stop
         # Setup our Apache
@@ -92,7 +92,7 @@
 	if [ -d /etc/apache2/sites-available ] && [ ! -e /etc/apache2/sites-available/gforge ] ; then
 	    ln -s /etc/gforge/httpd.conf /etc/apache2/sites-available/gforge
 	fi
-	/usr/sbin/a2ensite gforge
+	a2ensite gforge
 	
 	# Make Apache see these new changes
 	invoke-rc.d apache2 restart || true




More information about the Fusionforge-commits mailing list