[debian-edu-commits] debian-edu/ 06/06: share/debian-edu-config/tools/gosa-remove-host: fix location.

Wolfgang Schweer schweer-guest at moszumanska.debian.org
Mon May 28 23:29:58 BST 2018


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

schweer-guest pushed a commit to branch master
in repository debian-edu-config.

commit 185f6eaef48604acf238c758ff8b73f06ad32349
Author: Wolfgang Schweer <wschweer at arcor.de>
Date:   Tue May 29 00:26:02 2018 +0200

    share/debian-edu-config/tools/gosa-remove-host: fix location.
---
 share/debian-edu-config/tools/gosa-remove-host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/share/debian-edu-config/tools/gosa-remove-host b/share/debian-edu-config/tools/gosa-remove-host
index 4bade73..9d012d7 100755
--- a/share/debian-edu-config/tools/gosa-remove-host
+++ b/share/debian-edu-config/tools/gosa-remove-host
@@ -20,7 +20,7 @@ HOST="$1"
 for i in $(kadmin.local listprincs | grep $HOST) ; do
     kadmin.local delprinc $i
     done
-rm /etc/$(ls -l /etc | grep $HOST | awk '{print $9}')
+rm /root/keytabs/$(ls -l /root/keytabs | grep $HOST | awk '{print $9}')
 #
 
 # update services:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-config.git



More information about the debian-edu-commits mailing list