diff --git a/python_modules/inflate_bubble.py b/python_modules/inflate_bubble.py index d170f0db..a50a9d29 100644 --- a/python_modules/inflate_bubble.py +++ b/python_modules/inflate_bubble.py @@ -24,7 +24,8 @@ def set_fusato_structure(): """ Make some needed folders for the fustao build process. at the moment you deal wioth chroot and bootstrap """ - make_chroot = ['usr/share/python-apt/templates/', + make_chroot = ['usr/share/distro-info/', + 'usr/share/python-apt/templates/', 'usr/share/icons/default', 'usr/share/peppermint/', 'usr/share/themes/', @@ -40,6 +41,14 @@ def set_fusato_structure(): 'etc/skel/.local/share', 'etc/skel/.config/autostart/' ] + os.chdir(HOME_FOLDER) + if os.path.exists('config'): + rm_cmd = "sudo rm -r -f config" + os.system(rm_cmd) + os.makedirs('config') + else: + pass + make_bootstrap = ['/etc/apt'] make_chfldrs = make_chroot for f_f in make_chfldrs: diff --git a/python_modules/infra.py b/python_modules/infra.py index cfebf352..6c67f950 100644 --- a/python_modules/infra.py +++ b/python_modules/infra.py @@ -216,19 +216,19 @@ def icons_themes(): This function will get the icons and themse that are for all the builds """ - src_paths =('/theme/Marwaita Dark Debian ', - '/theme/Marwaita Dark Manjaro ', - '/theme/Marwaita Dark Peppermint ', - '/theme/Marwaita Debian ', - '/theme/Marwaita Manjaro ', - '/theme/Marwaita Peppermint ', - '/icons/Tela-circle-blue-dark ', - '/icons/Tela-circle-green-dark ', - '/icons/Tela-circle-red-dark ', - '/icons/Tela-circle-blue ', - '/icons/Tela-circle-green ', - '/icons/Tela-circle-red ', - '/icons/Tela-circle ' + src_paths =("/theme/'Marwaita Dark Debian' ", + "/theme/'Marwaita Dark Manjaro' ", + "/theme/'Marwaita Dark Peppermint' ", + "/theme/'Marwaita Debian' ", + "/theme/'Marwaita Manjaro' ", + "/theme/'Marwaita Peppermint' ", + "/icons/Tela-circle-blue-dark ", + "/icons/Tela-circle-green-dark ", + "/icons/Tela-circle-red-dark ", + "/icons/Tela-circle-blue ", + "/icons/Tela-circle-green ", + "/icons/Tela-circle-red ", + "/icons/Tela-circle " ) des_paths = ('/usr/share/themes', '/usr/share/themes', '/usr/share/themes', '/usr/share/themes',