From 05d810986a412015691bf8d5ce32ad4528aac452 Mon Sep 17 00:00:00 2001
From: Peter Hormanns <peter.hormanns@hostsharing.net>
Date: Thu, 28 Jul 2011 16:10:34 +0200
Subject: [PATCH] delete pac directories

---
 hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
index ac2cd9e..975af38 100644
--- a/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
+++ b/hsarback/src/de/hsadmin/mods/pac/PacProcessorFactory.java
@@ -114,7 +114,7 @@
 	}
 
 	private ShellProcessor createDelUserProc(String pacName) {
-		return new ShellProcessor("deluser --remove-all-files " + pacName);
+		return new ShellProcessor("rm -rf /home/pacs/" + pacName + "/* && deluser --remove-all-files " + pacName);
 	}
 
 	private ShellProcessor createMakePacDirectoryStructure(UnixUser unixUser) {

--
Gitblit v1.9.3