[nethack] 16/31: nethack-common.postinst: remove prehistoric init script handling

James Cowgill jcowgill-guest at moszumanska.debian.org
Mon Mar 7 17:54:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

jcowgill-guest pushed a commit to branch master
in repository nethack.

commit 96aebd1b20b3c0fe38dd65b5f4638ce1832e2e6f
Author: James Cowgill <james410 at cowgill.org.uk>
Date:   Fri Mar 4 22:04:46 2016 +0000

    nethack-common.postinst: remove prehistoric init script handling
    
    The first if was present in sarge. The second was present in squeeze. These init
    scripts should have been removed by now :)
---
 debian/nethack-common.postinst | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/debian/nethack-common.postinst b/debian/nethack-common.postinst
index 08d9040..4f83065 100644
--- a/debian/nethack-common.postinst
+++ b/debian/nethack-common.postinst
@@ -53,18 +53,6 @@ if [ "$1" = "configure" ]; then
         chown root:games /var/games/nethack/$file
       fi
     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
-    if [ -f "/etc/rc0.d/K01nethack-common" ]; then
-      echo "Removing shutdown functionality for the nethack-common init script."
-      # dh_installinit takes care of the rest.
-      update-rc.d -f nethack-common remove
-    fi
 fi
 
 #DEBHELPER#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/nethack.git



More information about the Pkg-games-commits mailing list