From 537938886deff71b563a81b6498eafd9f173568b Mon Sep 17 00:00:00 2001 From: Rodolfo Date: Mon, 1 Jul 2024 01:53:45 +0800 Subject: [PATCH] Fix typos --- archsetup.sh | 5 +++-- scripts/archgamedevsetup.sh | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/archsetup.sh b/archsetup.sh index 1f212da..bf9d1f5 100755 --- a/archsetup.sh +++ b/archsetup.sh @@ -24,7 +24,7 @@ while true; do fi echo "git clone $repo $home_PATH/Repos/dotfiles" if [[ $? == 0 ]]; then - for file in $home_PATH/Repos/*; do + for file in $home_PATH/Repos/dotfiles/*; do echo "ln -s $file $home_PATH/.config/" done break @@ -61,7 +61,7 @@ echo "" echo "sudo pacman -S --noconfirm --needed base-devel" while IFS= read -r line ; do echo "sudo pacman -S --noconfirm --needed $line" -done < $script_PATH/arch-assets/archpkg.txt +done < $scripts_PATH/arch-assets/archpkg.txt echo -e "\n\n\n\n" echo "" @@ -83,6 +83,7 @@ read -p "Would you like to set an alternate SSH port? (Empty to skip) " sshPort if [[ ! -z $sshPort && $sshPort =~ ^[0-9]+$ ]]; then echo "sudo ufw allow $sshPort" fi +echo "systemctl enable ufw" # Setup Printer echo "systemctl enable cups" diff --git a/scripts/archgamedevsetup.sh b/scripts/archgamedevsetup.sh index 56243c9..3501b37 100755 --- a/scripts/archgamedevsetup.sh +++ b/scripts/archgamedevsetup.sh @@ -1,7 +1,7 @@ #!/bin/bash while IFS= read -r line ; do - echo "sudo pacman -S --needed $line" + echo "sudo pacman -S --noconfirm --needed $line" done < $1 # Get Blender