Updated
Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
parent
973a49d141
commit
7e3fe9fdc6
|
@ -63,10 +63,12 @@ class ChrootFolders:
|
|||
for size_length in range(chroot_size_q):
|
||||
source = chroot_src_q.popleft()
|
||||
des = chroot_des_q.popleft()
|
||||
print("INFO: Copying - " + HOME_FOLDER + source)
|
||||
shutil.copytree(HOME_FOLDER + source,
|
||||
HOME_FOLDER + WPCHROOT + des,
|
||||
dirs_exist_ok = True
|
||||
)
|
||||
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
|
||||
|
||||
|
||||
|
||||
|
@ -98,10 +100,12 @@ class BinaryFolders:
|
|||
for size_length in range(binary_size_q):
|
||||
source = binary_src_q.popleft()
|
||||
des = binary_des_q.popleft()
|
||||
print("INFO: Copying - " + HOME_FOLDER + source)
|
||||
shutil.copytree(HOME_FOLDER + source,
|
||||
HOME_FOLDER + BINARYPTH + des,
|
||||
dirs_exist_ok = True
|
||||
)
|
||||
print("INFO: Done - " + HOME_FOLDER + BINARYPTH + des)
|
||||
|
||||
|
||||
class ArchitectureFiles:
|
||||
|
@ -144,9 +148,11 @@ class ArchitectureFiles:
|
|||
for size_length in range(size_q):
|
||||
source = src_q.popleft()
|
||||
des = des_q.popleft()
|
||||
print("INFO: Copying - " + HOME_FOLDER + source)
|
||||
shutil.copy(HOME_FOLDER + source,
|
||||
HOME_FOLDER + WPCHROOT + des
|
||||
)
|
||||
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
|
||||
|
||||
|
||||
def set_symlinks():
|
||||
|
@ -218,10 +224,12 @@ def shared_folders():
|
|||
for size_length in range(size_q):
|
||||
source = src_q.popleft()
|
||||
des = des_q.popleft()
|
||||
print("INFO: Copying - " + HOME_FOLDER + source)
|
||||
shutil.copytree(HOME_FOLDER + source,
|
||||
HOME_FOLDER + WPCHROOT + des,
|
||||
dirs_exist_ok = True
|
||||
)
|
||||
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
|
||||
|
||||
|
||||
def icons_themes():
|
||||
|
@ -271,7 +279,7 @@ def icons_themes():
|
|||
HOME_FOLDER + WPCHROOT + des,
|
||||
dirs_exist_ok = True
|
||||
)
|
||||
print("INFO: Done" + HOME_FOLDER + WPCHROOT + des)
|
||||
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
|
||||
|
||||
|
||||
|
||||
|
@ -309,9 +317,11 @@ def shared_files():
|
|||
for size_length in range(size_q):
|
||||
source = src_q.popleft()
|
||||
des = des_q.popleft()
|
||||
print("INFO: Copying - " + HOME_FOLDER + source)
|
||||
shutil.copy(HOME_FOLDER + source,
|
||||
HOME_FOLDER + WPCHROOT + des
|
||||
)
|
||||
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
|
||||
|
||||
|
||||
def fusato_configs():
|
||||
|
@ -327,10 +337,12 @@ def fusato_configs():
|
|||
for size_length in range(size_q):
|
||||
source = src_q.popleft()
|
||||
des = des_q.popleft()
|
||||
print("INFO: Copying - " + HOME_FOLDER + source)
|
||||
shutil.copytree(HOME_FOLDER + source,
|
||||
HOME_FOLDER + FUSATOCONFIG + des,
|
||||
dirs_exist_ok = True
|
||||
)
|
||||
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
|
||||
|
||||
|
||||
def boostrap_shared():
|
||||
|
@ -346,10 +358,12 @@ def boostrap_shared():
|
|||
for size_length in range(size_q):
|
||||
source = src_q.popleft()
|
||||
des = des_q.popleft()
|
||||
print("INFO: Copying - " + HOME_FOLDER + source)
|
||||
shutil.copytree(HOME_FOLDER + source,
|
||||
HOME_FOLDER + BOOTSTRAP + des,
|
||||
dirs_exist_ok = True
|
||||
)
|
||||
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
|
||||
|
||||
|
||||
def xfce_configs():
|
||||
|
@ -359,16 +373,20 @@ def xfce_configs():
|
|||
print("Copy xfce4 configs")
|
||||
src_xfce = '/xfce/xfce4'
|
||||
des_xfce = '/etc/skel/.config/xfce4'
|
||||
print("INFO: Copying - " + HOME_FOLDER + source)
|
||||
shutil.copytree(HOME_FOLDER + src_xfce,
|
||||
HOME_FOLDER + WPCHROOT + des_xfce,
|
||||
dirs_exist_ok = True
|
||||
)
|
||||
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
|
||||
src_thunar = '/xfce/Thunar'
|
||||
des_thunar = '/etc/skel/.config/Thunar'
|
||||
print("INFO: Copying - " + HOME_FOLDER + source)
|
||||
shutil.copytree(HOME_FOLDER + src_thunar,
|
||||
HOME_FOLDER + WPCHROOT + des_thunar,
|
||||
dirs_exist_ok = True
|
||||
)
|
||||
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
|
||||
|
||||
|
||||
def gnome_flahsbak_configs():
|
||||
|
@ -378,10 +396,11 @@ def gnome_flahsbak_configs():
|
|||
print("Copy Gnome Flashback configs")
|
||||
src_gnomef = '/gnome-flashback'
|
||||
des_gnomef = '/etc/skel/.config/gnome-flashback'
|
||||
print("INFO: Copying - " + HOME_FOLDER + source)
|
||||
shutil.copytree(HOME_FOLDER + src_gnomef,
|
||||
HOME_FOLDER + WPCHROOT + des_gnomef,
|
||||
dirs_exist_ok = True
|
||||
)
|
||||
|
||||
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue