[debian-edu-commits] [Git][debian-edu/debian-edu-config][master] 2 commits: Rename dhclient hook in Makefile

Mike Gabriel (@sunweaver) gitlab at salsa.debian.org
Thu Sep 7 19:44:38 BST 2023



Mike Gabriel pushed to branch master at Debian Edu / debian-edu-config


Commits:
8ccc22b8 by Guido Berhoerster at 2023-09-07T18:44:25+00:00
Rename dhclient hook in Makefile

Followup to commit 912fa538970efd7175481779a5bde71f6d14d530.

- - - - -
35d62a90 by Guido Berhoerster at 2023-09-07T18:44:25+00:00
Do not use command paths in maintainer scripts

Fix lintian warning introduced in commit
9a38129b8c9de16bf658bcdef4423410e4aaf686.

- - - - -


3 changed files:

- Makefile
- debian/debian-edu-config.postrm
- debian/debian-edu-config.prerm


Changes:

=====================================
Makefile
=====================================
@@ -153,7 +153,7 @@ SYSCONFFILES = \
 SYSCONFSCRIPTS = \
 	dhcp/dhclient-exit-hooks.d/autofs-reload \
 	dhcp/dhclient-exit-hooks.d/wpad-proxy-update \
-	dhcp/dhclient-exit-hooks.d/fetch-ldap-cert \
+	dhcp/dhclient-exit-hooks.d/fetch-rootca-cert \
 	dhcp/dhclient-exit-hooks.d/hostname \
 	mklocaluser.d/20-debian-edu-config \
 	shutdown-at-night/clients-generator \


=====================================
debian/debian-edu-config.postrm
=====================================
@@ -5,7 +5,7 @@ set -e
 case "$1" in
     remove)
         # Calling the init script during removal
-	if /usr/bin/systemctl list-unit-files -q enable-nat >/dev/null 2>&1 || \
+	if systemctl list-unit-files -q enable-nat >/dev/null 2>&1 || \
 	    [ -x "/etc/init.d/enable-nat" ] ; then
 	    if command -v invoke-rc.d >/dev/null ; then
 		invoke-rc.d enable-nat stop || exit $?


=====================================
debian/debian-edu-config.prerm
=====================================
@@ -5,7 +5,7 @@ set -e
 case "$1" in
     remove)
         # Calling the init script during removal
-	if /usr/bin/systemctl list-unit-files -q enable-nat >/dev/null 2>&1 || \
+	if systemctl list-unit-files -q enable-nat >/dev/null 2>&1 || \
 	    [ -x "/etc/init.d/enable-nat" ] ; then
 	    if command -v invoke-rc.d >/dev/null ; then
 		invoke-rc.d enable-nat stop || exit $?



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/de18a627339a8d976114aba23803ee31260c37ef...35d62a9091001e1b12a6498da51976137644c0f6

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-config/-/compare/de18a627339a8d976114aba23803ee31260c37ef...35d62a9091001e1b12a6498da51976137644c0f6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20230907/e27ea85c/attachment-0001.htm>


More information about the debian-edu-commits mailing list