diff --git a/start-setup.sh b/start-setup.sh index 419b49d..7bcecc1 100755 --- a/start-setup.sh +++ b/start-setup.sh @@ -23,8 +23,10 @@ if [[ ! -f /bin/git ]]; then echo "" fi -echo "git clone https://gitea.barcelli.net/rodolfo/arch-automated-installer /home/$(whoami)/Repos/arch-automated-installer" -cd /home/$(whoami)/Repos/arch-automated-installer +if [[ ! -d /home/$(whoami)/Repos/arch-automated-installer ]]; then + echo "git clone https://gitea.barcelli.net/rodolfo/arch-automated-installer /home/$(whoami)/Repos/arch-automated-installer" + echo "cd /home/$(whoami)/Repos/arch-automated-installer" +fi script_PATH=$(pwd)