From 76ea5d21b0a7c3cec37c869094ae0a499da94000 Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Sat, 7 Apr 2012 18:07:17 +0000 Subject: [PATCH] delete soft links in old pac-domain --- hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 07cadec..4a0b5ed 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -293,7 +293,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { processor.appendProcessor( new ShellProcessor("shopt -s dotglob && ls " + pacDir + "/" + sourceDirs[idx] + " >/dev/null 2>&1" + " && mv " + pacDir + "/" + sourceDirs[idx] + "/* " + domDir + "/" + targetDirs[idx] + "/ " + - " && rmdir " + pacDir + "/" + sourceDirs[idx] + + " && ( rmdir " + pacDir + "/" + sourceDirs[idx] + " || rm " + pacDir + "/" + sourceDirs[idx] + " ) " + " || echo 'directory " + pacDir + "/" + sourceDirs[idx] + " not found'")); } return processor;