Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2024-06-22 21:49:03 +09:00
parent 754965ef41
commit 924b84ae38
1 changed files with 8 additions and 2 deletions

View File

@ -400,14 +400,20 @@ def add_web_profile():
logger.info( logger.info(
f"Found build id file: {build_id}. Copying lw profile." f"Found build id file: {build_id}. Copying lw profile."
) )
shutil.copytree(lw_src_path, des_src_path, dirs_exist_ok=True) shutil.copytree(HOME_FOLDER + lw_src_path,
HOME_FOLDER + WPCHROOT + des_src_path,
dirs_exist_ok=True
)
profile_copied = True profile_copied = True
break break
if not profile_copied: if not profile_copied:
logger.info( logger.info(
"No macthing build file found. Copying ff profile." "No macthing build file found. Copying ff profile."
) )
shutil.copytree(ff_src_path, des_src_path, dirs_exist_ok=True) shutil.copytree(HOME_FOLDER + ff_src_path,
HOME_FOLDER + WPCHROOT + des_src_path,
dirs_exist_ok=True
)
def set_symlinks(): def set_symlinks():