move content of old pacdomain

This commit is contained in:
Peter Hormanns 2011-12-16 15:38:31 +00:00
parent e20fd214a5
commit 6169dbc0a3

View File

@ -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;
}