From 6169dbc0a316bf17b5b00acfc67a991f27602b3b Mon Sep 17 00:00:00 2001 From: Peter Hormanns Date: Fri, 16 Dec 2011 15:38:31 +0000 Subject: [PATCH] move content of old pacdomain --- hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 0f0ce56..069d70b 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -281,7 +281,8 @@ 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] + + " || echo 'directory " + pacDir + "/" + sourceDirs[idx] + " not found'")); } return processor; }