Updated infra
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
38324073d2
commit
693d1a3689
|
@ -15,8 +15,8 @@ import conf
|
|||
BSTRING_ISO_CONFIGS = '~/bubbles/iso_configs'
|
||||
HOME_FOLDER = str(Path(BSTRING_ISO_CONFIGS).expanduser())
|
||||
PACKAGE_LIST = "/fusato/config/package-lists"
|
||||
CHROOT_FOLDER = "/config/includes.chroot/"
|
||||
BOOTSTRAP_FOLDER = '/config/includes.bootstrap/'
|
||||
CHROOT_FOLDER = "/fusato/config/includes.chroot/"
|
||||
BOOTSTRAP_FOLDER = '/fusato/config/includes.bootstrap/'
|
||||
|
||||
|
||||
# Fusato base
|
||||
|
@ -41,11 +41,13 @@ def set_fusato_structure():
|
|||
'etc/skel/.local/share',
|
||||
'etc/skel/.config/autostart/'
|
||||
]
|
||||
os.chdir(HOME_FOLDER)
|
||||
os.chdir(HOME_FOLDER + '/fusato')
|
||||
if os.path.exists('config'):
|
||||
rm_cmd = "sudo rm -r -f config"
|
||||
os.system(rm_cmd)
|
||||
os.makedirs('config')
|
||||
|
||||
|
||||
else:
|
||||
pass
|
||||
|
||||
|
|
Loading…
Reference in New Issue