Signed-off-by: debianpepper <pdpdebdevuan@protonmail.com>
This commit is contained in:
debianpepper 2023-08-26 20:43:28 +09:00
parent d3a2607e7a
commit 88e0e0d7b0
1 changed files with 20 additions and 20 deletions

View File

@ -66,12 +66,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)
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)
print("INFO: Finished - " + HOME_FOLDER + WPCHROOT + des)
@ -105,12 +105,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)
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)
print("INFO: Finished - " + HOME_FOLDER + BINARYPTH + des)
class ArchitectureFiles:
@ -155,11 +155,11 @@ class ArchitectureFiles:
for size_length in range(size_q):
source = src_q.popleft()
des = des_q.popleft()
print("INFO: Copying - " + HOME_FOLDER + source)
print("INFO: Copying - " + HOME_FOLDER + source)
shutil.copy(HOME_FOLDER + source,
HOME_FOLDER + WPCHROOT + des
)
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
print("INFO: Finished - " + HOME_FOLDER + WPCHROOT + des)
def set_symlinks():
@ -235,12 +235,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)
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)
print("INFO: Finished - " + HOME_FOLDER + WPCHROOT + des)
def icons_themes():
@ -287,12 +287,12 @@ def icons_themes():
for size_length in range(size_q):
source = src_q.popleft()
des = des_q.popleft()
print("INFO: Copying - " + HOME_FOLDER + source)
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)
print("INFO: Finished - " + HOME_FOLDER + WPCHROOT + des)
@ -332,11 +332,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)
print("INFO: Copying - " + HOME_FOLDER + source)
shutil.copy(HOME_FOLDER + source,
HOME_FOLDER + WPCHROOT + des
)
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des)
print("INFO: Finished - " + HOME_FOLDER + WPCHROOT + des)
def fusato_configs():
@ -354,12 +354,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)
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)
print("INFO: Finished - " + HOME_FOLDER + WPCHROOT + des)
def boostrap_shared():
@ -378,12 +378,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)
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)
print("INFO: Finished - " + HOME_FOLDER + WPCHROOT + des)
def xfce_configs():
@ -403,12 +403,12 @@ def xfce_configs():
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des_xfce)
src_thunar = '/xfce/Thunar'
des_thunar = '/etc/skel/.config/Thunar'
print("INFO: Copying - " + HOME_FOLDER + src_thunar)
print("INFO: Copying - " + HOME_FOLDER + src_thunar)
shutil.copytree(HOME_FOLDER + src_thunar,
HOME_FOLDER + WPCHROOT + des_thunar,
dirs_exist_ok = True
)
print("INFO: Done - " + HOME_FOLDER + WPCHROOT + des_thunar)
print("INFO: Finished - " + HOME_FOLDER + WPCHROOT + des_thunar)
def gnome_flahsbak_configs():
@ -419,11 +419,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)
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)
print("INFO: Finished - " + HOME_FOLDER + WPCHROOT + des)