diff --git a/python_modules/finish_cleanup.py b/python_modules/finish_cleanup.py index 421b780d..c06b8f78 100644 --- a/python_modules/finish_cleanup.py +++ b/python_modules/finish_cleanup.py @@ -18,7 +18,7 @@ HOME_FOLDER = str(Path(BSTRING_ISO_CONFIGS).expanduser()) FUSATO_ROOT = '/fusato' # Set the base destination location for the final ISO # Default base is /var/www/html/nightly/ -BASE_DESTINATION = '/var/www/html/nightly/' +BASE_DESTINATION = '/var/www/html/nightly' # Set the base ISO Name BASE_NAME = 'PeppermintOS' @@ -48,6 +48,7 @@ def process_iso(base, arch, desktop): src_iso = files rdes = f"{BASE_NAME}-{base}_{arch}_{desktop.lower()}{today}.iso" des_iso =f"{BASE_DESTINATION}/{base.lower()}{arch}/{desktop.lower()}" + os.rename(src_iso, rdes) shutil.copy(rdes, des_iso)