Corrected inflatebubble syntax bug

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-08-24 15:31:14 +09:00
parent 03a5c9623c
commit 999e9896b6
1 changed files with 23 additions and 27 deletions

View File

@ -9,7 +9,6 @@
import os
from pathlib import Path
import paths
import conf
# Set the home path used regardless the user logged in
@ -42,15 +41,13 @@ def set_fusato_structure():
'etc/skel/.local/share',
'etc/skel/.config/autostart/'
]
make_bootstrap =['/etc/apt']
make_bootstrap = ['/etc/apt']
make_chfldrs = make_chroot
for f in make_chfldrs:
os.makedirs(HOME_FOLDER + CHROOT_FOLDER + f)
for f_f in make_chfldrs:
os.makedirs(HOME_FOLDER + CHROOT_FOLDER + f_f)
make_bsfldrs = make_bootstrap
for f in make_bsfldrs:
os.makedirs(HOME_FOLDER + BOOTSTRAP_FOLDER + f)
for f_f in make_bsfldrs:
os.makedirs(HOME_FOLDER + BOOTSTRAP_FOLDER + f_f)
# Commonly Shared
@ -77,8 +74,8 @@ def set_binary_shared():
def set_lightdm():
""" Create the list for the light dm list """
with open( HOME_FOLDER + PACKAGE_LIST + 'lightdm.list.chroot', 'x',
encoding='UTF-8') as lighdm_file:
with open(HOME_FOLDER + PACKAGE_LIST + 'lightdm.list.chroot', 'x',
encoding='UTF-8') as lightdm_file:
lightdm_file.write(conf.light_dm_list)
@ -90,7 +87,6 @@ def set_xfce():
xfce_file.write(conf.xfce_list)
# CHROOT Specific
def set_chroot_grub_64():
""" Append the grub list for 64 bit grub"""
@ -138,13 +134,13 @@ def set_binary_32():
# Firmware Specific
def set_firmware():
""" Create the list for the firmware support for genral ISOs"""
with open(HOME_FOLDER + PACKAGE_LIST +'firmware.list.chroot', 'x',
with open(HOME_FOLDER + PACKAGE_LIST + 'firmware.list.chroot', 'x',
encoding='UTF-8') as firmware_file:
firmware_file.write(conf.firmware_list_32_64)
def set_firmware_arm():
""" Create the list for the firmware support for arm ISOs"""
with open(HOME_FOLDER + PACKAGE_LIST +'firmware.list.chroot', 'x',
with open(HOME_FOLDER + PACKAGE_LIST + 'firmware.list.chroot', 'x',
encoding='UTF-8') as firmware_file:
firmware_file.write(conf.firmware_list_arm)