remove print statements
This commit is contained in:
@@ -1,7 +1,5 @@
|
|||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|
||||||
# Sym Link Home Folders To External Storage
|
|
||||||
|
|
||||||
def sym_link_folders() -> void:
|
def sym_link_folders() -> void:
|
||||||
target_folder = input("Specify the path to the target folder (full path must be used): ")
|
target_folder = input("Specify the path to the target folder (full path must be used): ")
|
||||||
|
|
||||||
@@ -15,8 +13,7 @@ def sym_link_folders() -> void:
|
|||||||
]
|
]
|
||||||
|
|
||||||
for folder in FOLDERS:
|
for folder in FOLDERS:
|
||||||
#Path(f"/run/media/1TB/{folder}").symlink_to(f"~/{folder}")
|
Path(f"/run/media/1TB/{folder}").symlink_to(f"~/{folder}")
|
||||||
print(f"{target_folder}/{folder}", f"~/{folder}")
|
|
||||||
|
|
||||||
def install_apps() -> void:
|
def install_apps() -> void:
|
||||||
APPS = [
|
APPS = [
|
||||||
@@ -35,8 +32,7 @@ def install_apps() -> void:
|
|||||||
]
|
]
|
||||||
|
|
||||||
for app in APPS:
|
for app in APPS:
|
||||||
#subprocess.run(['sudo', 'pacman', '-S', {app}, '--noconfirm'])
|
subprocess.run(['sudo', 'pacman', '-S', {app}, '--noconfirm'])
|
||||||
print(f"pac {app}")
|
|
||||||
|
|
||||||
subprocess.run(['fisher', 'install', 'jorgebucaran/nvm.fish'])
|
subprocess.run(['fisher', 'install', 'jorgebucaran/nvm.fish'])
|
||||||
subprocess.run(['nvm', 'install', 'lts'])
|
subprocess.run(['nvm', 'install', 'lts'])
|
||||||
@@ -55,7 +51,8 @@ def stow_dot_files() -> void:
|
|||||||
for dotfile in DOTFILES:
|
for dotfile in DOTFILES:
|
||||||
subprocess.run(['stow', {dotfile}, '--adopt'])
|
subprocess.run(['stow', {dotfile}, '--adopt'])
|
||||||
|
|
||||||
|
subprocess.run(['git', 'checkout', '--', '.'])
|
||||||
|
|
||||||
sym_link_folders()
|
sym_link_folders()
|
||||||
install_apps()
|
install_apps()
|
||||||
stow_dot_files()
|
stow_dot_files()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user