[Pkg-nethack-devel] nethack/debian changelog,1.30,1.31 nethack-common.postinst,1.10,1.11
Joshua Kwan
joshk-guest@quantz.debian.org
Fri, 12 Dec 2003 03:58:35 +0000
Update of /cvsroot/pkg-nethack/nethack/debian
In directory quantz:/tmp/cvs-serv2682
Modified Files:
changelog nethack-common.postinst
Log Message:
Make sure /etc/init.d/nethack and its associated symlinks are removed
in postinst because they are remnants of the old nethack-common package.
Index: nethack-common.postinst
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/debian/nethack-common.postinst,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- nethack-common.postinst 26 Oct 2003 08:07:14 -0000 1.10
+++ nethack-common.postinst 12 Dec 2003 03:58:33 -0000 1.11
@@ -109,6 +109,13 @@
test -e /var/games/nethack/$file || install -m 0664 -o root -g games \
/dev/null /var/games/nethack/$file
done
+
+ # stale rc.d file
+ if [ -f "/etc/rcS.d/S85nethack" ]; then
+ echo "Removing old init script and its symlinks."
+ rm -f /etc/init.d/nethack
+ update-rc.d -f nethack remove
+ fi
fi
#DEBHELPER#
Index: changelog
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/debian/changelog,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- changelog 9 Dec 2003 16:52:02 -0000 1.30
+++ changelog 12 Dec 2003 03:58:33 -0000 1.31
@@ -30,9 +30,12 @@
<nico.bertol@free.fr>. (Closes: #218729)
- Document QT_FONTSIZE, QT_TILEWIDTH, QT_TILEHEIGHT in Qt nethackrc
(Closes: #141245)
+ - Remove the old /etc/init.d/nethack and its symlinks with a manual
+ call to update-rc.d on postinst, due to a sneaky name change that
+ crept in during 3.4.2 package work. (Closes: #223496)
- Fix a few warnings in patches.
- -- Joshua Kwan <joshk@triplehelix.org> Tue, 9 Dec 2003 08:19:14 -0800
+ -- Joshua Kwan <joshk@triplehelix.org> Thu, 11 Dec 2003 19:56:21 -0800
nethack (3.4.2-2) unstable; urgency=low