From 147199e60d4aab7de2bd726f55a45a2de2da40db Mon Sep 17 00:00:00 2001 From: Rodolfo Barcelli Jo Date: Tue, 9 Jul 2024 12:26:40 +0800 Subject: [PATCH] arm gamedev and game setup scripts --- arch-assets/archgamedevpkg.txt | 1 - scripts/archgamedevsetup.sh | 14 +++++++------- scripts/archgamingsetup.sh | 4 ++-- 3 files changed, 9 insertions(+), 10 deletions(-) diff --git a/arch-assets/archgamedevpkg.txt b/arch-assets/archgamedevpkg.txt index 7e34c9c..3b1aba1 100644 --- a/arch-assets/archgamedevpkg.txt +++ b/arch-assets/archgamedevpkg.txt @@ -1,3 +1,2 @@ krita git-lfs - diff --git a/scripts/archgamedevsetup.sh b/scripts/archgamedevsetup.sh index 3501b37..ece1e61 100755 --- a/scripts/archgamedevsetup.sh +++ b/scripts/archgamedevsetup.sh @@ -1,8 +1,8 @@ #!/bin/bash -while IFS= read -r line ; do - echo "sudo pacman -S --noconfirm --needed $line" -done < $1 +#while IFS= read -r line ; do +# echo "sudo pacman -S --noconfirm --needed $line" +#done < $1 # Get Blender while true; do @@ -10,15 +10,15 @@ while true; do read -p "Please enter the release of blender you want (eg. 4.1): " blender if [[ ! -z $blender ]]; then if [[ ! -d /home/$(whoami)/Software ]]; then - "mkdir /home/$(whoami)/Software" + mkdir /home/$(whoami)/Software fi - cd "/home/$(whoami)/Software" + cd /home/$(whoami)/Software count=9 while [ $count -ge 0 ]; do - echo "wget 'https://download.blender.org/release/Blender$blender/blender-$blender.$count-linux-x64.tar.xz'" + wget "https://download.blender.org/release/Blender$blender/blender-$blender.$count-linux-x64.tar.xz" if [[ $? == 0 ]]; then blenderversion="blender-$blender.$count-linux-x64.tar.xz" - echo "cd /home/$(whoami)/Software/ && tar -xvf $blenderversion" + cd /home/$(whoami)/Software/ && tar -xvf $blenderversion break fi ((count--)) diff --git a/scripts/archgamingsetup.sh b/scripts/archgamingsetup.sh index b7f4ccd..7556030 100644 --- a/scripts/archgamingsetup.sh +++ b/scripts/archgamingsetup.sh @@ -1,6 +1,6 @@ #!/bin/bash while IFS= read -r line ; do - echo "sudo pacman -S --noconfirm --needed $line" + sudo pacman -S --noconfirm --needed $line done < $1 -echo "sudo pacman -S --needed steam" +sudo pacman -S --noconfirm --needed steam