r15014 - packages/trunk/nethack/debian
Vincent Cheng
vcheng at moszumanska.debian.org
Mon Mar 31 23:08:37 UTC 2014
Author: vcheng
Date: 2014-03-31 23:08:37 +0000 (Mon, 31 Mar 2014)
New Revision: 15014
Modified:
packages/trunk/nethack/debian/nethack-common.init
Log:
Fix various init script related lintian tags
Modified: packages/trunk/nethack/debian/nethack-common.init
===================================================================
--- packages/trunk/nethack/debian/nethack-common.init 2014-03-31 23:03:58 UTC (rev 15013)
+++ packages/trunk/nethack/debian/nethack-common.init 2014-03-31 23:08:37 UTC (rev 15014)
@@ -6,12 +6,15 @@
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: Nethack save-file recovery script for Debian
+# Description: Recovers Nethack save-files on start
### END INIT INFO
#
# Ben Gertzfield (che at debian.org) 29 July 1997
# Copyright 1997 Ben Gertzfield. This script is released under the
# GNU General Public License, version 2 or later.
+. /lib/lsb/init-functions
+
PATH=/bin:/usr/bin:/sbin:/usr/sbin
set -e
@@ -22,11 +25,11 @@
test -x /usr/lib/games/nethack/recover-all || exit 0
exec /usr/lib/games/nethack/recover-all
;;
- stop|reload|restart|force-reload)
+ stop|reload|restart|force-reload|status)
;;
*)
N=/etc/init.d/nethack-common
- echo "Usage: $N {start|stop|restart|force-reload}" >&2
+ echo "Usage: $N {start|stop|restart|force-reload|status}" >&2
exit 1
;;
esac
More information about the Pkg-games-commits
mailing list