Updated
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
754965ef41
commit
924b84ae38
|
@ -400,14 +400,20 @@ def add_web_profile():
|
|||
logger.info(
|
||||
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
|
||||
break
|
||||
if not profile_copied:
|
||||
logger.info(
|
||||
"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():
|
||||
|
|
Loading…
Reference in New Issue