Update start-setup.sh to consider if the repo has been pulled or not

before starting
This commit is contained in:
Rodolfo 2024-07-01 14:24:42 +08:00
parent 7ba684b06a
commit d9e78a9ae1

View file

@ -23,8 +23,10 @@ if [[ ! -f /bin/git ]]; then
echo ""
fi
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"
cd /home/$(whoami)/Repos/arch-automated-installer
echo "cd /home/$(whoami)/Repos/arch-automated-installer"
fi
script_PATH=$(pwd)