From: Bdale Garbee Date: Sun, 6 Jul 2008 07:01:43 +0000 (-0600) Subject: use sudo as the init.d script name for both sudo and sudo-ldap packages X-Git-Tag: debian/1.6.9p17-1~2 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=df5080aad18e5fedfecc4febaf46884bbe1cde94;p=debian%2Fsudo use sudo as the init.d script name for both sudo and sudo-ldap packages --- diff --git a/debian/rules b/debian/rules index 365c062..fd9c2b3 100755 --- a/debian/rules +++ b/debian/rules @@ -103,7 +103,7 @@ binary-arch: build install dh_testroot dh_installdocs dh_installexamples -A sudoers - dh_installinit -psudo -psudo-ldap + dh_installinit -psudo -psudo-ldap --name=sudo dh_installmanpages fnmatch.3 dh_installinfo -A dh_installchangelogs CHANGES diff --git a/debian/sudo-ldap.postinst b/debian/sudo-ldap.postinst index 854f0ab..36cdd23 100644 --- a/debian/sudo-ldap.postinst +++ b/debian/sudo-ldap.postinst @@ -31,9 +31,9 @@ system ('chown root:root /etc/sudoers'); system ('chmod 440 /etc/sudoers'); # must do a remove first to un-do the "bad" links created by previous version -system ('update-rc.d -f sudo-ldap remove >/dev/null 2>&1'); +system ('update-rc.d -f sudo remove >/dev/null 2>&1'); -system ('update-rc.d sudo-ldap start 75 S . >/dev/null'); +system ('update-rc.d sudo start 75 S . >/dev/null'); # make sure we have a sudo group