Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-08-25 20:14:42 +09:00
parent fe5793f0ba
commit b9eaa02aee
2 changed files with 8 additions and 6 deletions

View File

@ -16,6 +16,7 @@ import paths
import inflate_bubble import inflate_bubble
import finish_cleanup import finish_cleanup
import infra import infra
import logging
# Set the home path used regardless the user logged in # Set the home path used regardless the user logged in

View File

@ -13,6 +13,7 @@ from io import StringIO
import collections import collections
from pathlib import Path from pathlib import Path
import shutil import shutil
import logging
import paths import paths
@ -64,7 +65,6 @@ class ChrootFolders:
for size_length in range(chroot_size_q): for size_length in range(chroot_size_q):
source = chroot_src_q.popleft() source = chroot_src_q.popleft()
des = chroot_des_q.popleft() des = chroot_des_q.popleft()
with Processing() as output:
shutil.copytree(HOME_FOLDER + source, shutil.copytree(HOME_FOLDER + source,
HOME_FOLDER + WPCHROOT + des, HOME_FOLDER + WPCHROOT + des,
dirs_exist_ok = True dirs_exist_ok = True
@ -226,12 +226,13 @@ def shared_folders():
) )
def icons_themes(): def icons_themes(path, names):
""" """
This function will get the icons and themse that are This function will get the icons and themse that are
for all the builds for all the builds
""" """
print("Copy icons and themes") print("Copy icons and themes")
logging.info('Working in %s' % path)
src_paths =('/theme/Marwaita Dark Debian/', src_paths =('/theme/Marwaita Dark Debian/',
'/theme/Marwaita Dark Manjaro/', '/theme/Marwaita Dark Manjaro/',
'/theme/Marwaita Dark Peppermint/', '/theme/Marwaita Dark Peppermint/',