Update start-setup.sh to consider if the repo has been pulled or not
before starting
This commit is contained in:
parent
7ba684b06a
commit
d9e78a9ae1
|
@ -23,8 +23,10 @@ if [[ ! -f /bin/git ]]; then
|
||||||
echo ""
|
echo ""
|
||||||
fi
|
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"
|
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)
|
script_PATH=$(pwd)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue