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