|
|
|
@ -1024,11 +1024,12 @@ class Builder(Update):
|
|
|
|
|
if fn not in source:
|
|
|
|
|
removeFileWithEmptyDirectory(path.join(target_dn, fn),
|
|
|
|
|
stopDirectory=target_dn)
|
|
|
|
|
# копируем отсутствующие файлы
|
|
|
|
|
for fn in source:
|
|
|
|
|
if fn not in target:
|
|
|
|
|
copyWithPath(path.join(source_dn, fn),
|
|
|
|
|
target_dn, prefix=source_dn)
|
|
|
|
|
if not os.path.isdir('/var/db/repos/gentoo'):
|
|
|
|
|
# копируем отсутствующие файлы
|
|
|
|
|
for fn in source:
|
|
|
|
|
if fn not in target:
|
|
|
|
|
copyWithPath(path.join(source_dn, fn),
|
|
|
|
|
target_dn, prefix=source_dn)
|
|
|
|
|
|
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|