[pkg-fso-commits] [SCM] gpsd for fso branch, debian, updated. debian/0.8-2-20-gf2387cf

Luca Capello luca at pca.it
Fri May 29 00:02:12 UTC 2009


The following commit has been merged in the debian branch:
commit 54feb48de7b3fec963fff9486e24f50d5a1c9a56
Author: Luca Capello <luca at pca.it>
Date:   Thu May 28 23:56:55 2009 +0200

    debian/fso-gpsd.init: do not hardcode path for usage output

diff --git a/debian/changelog b/debian/changelog
index 7101e40..08a122f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -18,6 +18,7 @@ fso-gpsd (0.8-3) UNRELEASED; urgency=low
       but not purged (and add a useful comment).
     + add --oknodo to start case (Standards-Version 3.8.1).
     + simplify restart/force-reload case.
+    + do not hardcode path for usage output.
   * debian/rules:
     + generate the manpage, thanks to lintian (this unfortunately
       required a more verbose rules file).
diff --git a/debian/fso-gpsd.init b/debian/fso-gpsd.init
index f133c0f..2318b06 100644
--- a/debian/fso-gpsd.init
+++ b/debian/fso-gpsd.init
@@ -48,9 +48,7 @@ case "$1" in
         $0 start
 	;;
   *)
-	N=/etc/init.d/$NAME
-	# echo "Usage: $N {start|stop|restart|reload|force-reload}" >&2
-	echo "Usage: $N {start|stop|restart|force-reload}" >&2
+	echo "Usage: $0 {start|stop|restart|force-reload}" >&2
 	exit 1
 	;;
 esac

-- 
gpsd for fso



More information about the pkg-fso-commits mailing list