diff --git a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java index 5416d11..0f0ce56 100644 --- a/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java +++ b/hsarback/src/de/hsadmin/mods/dom/DomainProcessorFactory.java @@ -279,7 +279,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory { + domDir + "/subs-ssl " + domDir + "/htdocs-ssl/.htaccess ")); for (int idx = 0; idx < sourceDirs.length; idx++) { processor.appendProcessor( - new ShellProcessor("shopt dotglob && ls " + pacDir + "/" + sourceDirs[idx] + " >/dev/null 2>&1" + + new ShellProcessor("shopt -s dotglob && ls " + pacDir + "/" + sourceDirs[idx] + " >/dev/null 2>&1" + " && mv " + pacDir + "/" + sourceDirs[idx] + "/* " + domDir + "/" + targetDirs[idx] + "/ " + " && rmdir " + pacDir + "/" + sourceDirs[idx])); }