delete soft links in old pac-domain
This commit is contained in:
parent
7f847dc13b
commit
76ea5d21b0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user