Update: Path correction

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-12-14 13:36:49 +09:00
parent 1407a526e9
commit aeb52617cc
1 changed files with 2 additions and 1 deletions

View File

@ -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)