Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-08-25 20:23:21 +09:00
parent 0fa1e28269
commit 01a783888b
1 changed files with 7 additions and 2 deletions

View File

@ -226,13 +226,18 @@ def shared_folders():
)
def _logpath(path, names):
logging.info('Working in %s' % path)
return [] # nothing will be ignored
def icons_themes():
"""
This function will get the icons and themse that are
for all the builds
"""
print("Copy icons and themes")
logging.info('Working in %s' % path)
logging.info('Working in %s' % src_q)
src_paths =('/theme/Marwaita Dark Debian/',
'/theme/Marwaita Dark Manjaro/',
'/theme/Marwaita Dark Peppermint/',
@ -269,7 +274,7 @@ def icons_themes():
des = des_q.popleft()
shutil.copytree(HOME_FOLDER + source,
HOME_FOLDER + WPCHROOT + des,
dirs_exist_ok = True
dirs_exist_ok = True, ignore=_logpath
)