Updated paths

Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-08-24 16:01:56 +09:00
parent a86381be7b
commit c5d89b8cd4
2 changed files with 23 additions and 14 deletions

View File

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

View File

@ -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',