Update: Path correction
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
1407a526e9
commit
aeb52617cc
|
@ -18,7 +18,7 @@ HOME_FOLDER = str(Path(BSTRING_ISO_CONFIGS).expanduser())
|
||||||
FUSATO_ROOT = '/fusato'
|
FUSATO_ROOT = '/fusato'
|
||||||
# Set the base destination location for the final ISO
|
# Set the base destination location for the final ISO
|
||||||
# Default base is /var/www/html/nightly/
|
# Default base is /var/www/html/nightly/
|
||||||
BASE_DESTINATION = '/var/www/html/nightly/'
|
BASE_DESTINATION = '/var/www/html/nightly'
|
||||||
# Set the base ISO Name
|
# Set the base ISO Name
|
||||||
BASE_NAME = 'PeppermintOS'
|
BASE_NAME = 'PeppermintOS'
|
||||||
|
|
||||||
|
@ -48,6 +48,7 @@ def process_iso(base, arch, desktop):
|
||||||
src_iso = files
|
src_iso = files
|
||||||
rdes = f"{BASE_NAME}-{base}_{arch}_{desktop.lower()}{today}.iso"
|
rdes = f"{BASE_NAME}-{base}_{arch}_{desktop.lower()}{today}.iso"
|
||||||
des_iso =f"{BASE_DESTINATION}/{base.lower()}{arch}/{desktop.lower()}"
|
des_iso =f"{BASE_DESTINATION}/{base.lower()}{arch}/{desktop.lower()}"
|
||||||
|
|
||||||
os.rename(src_iso, rdes)
|
os.rename(src_iso, rdes)
|
||||||
shutil.copy(rdes, des_iso)
|
shutil.copy(rdes, des_iso)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue