ceremonyclient folder check

This commit is contained in:
0xOzgur 2024-05-26 15:36:44 +03:00
parent 3894f8ed4c
commit 4a70822a26

View File

@ -36,10 +36,14 @@ sudo sysctl -p
echo "⏳Downloading Ceremonyclient"
sleep 1 # Add a 1-second delay
cd ~
until git clone https://github.com/QuilibriumNetwork/ceremonyclient.git; do
echo "Git clone failed, retrying..."
sleep 2
done
if [ -d "ceremonyclient" ]; then
echo "Directory ceremonyclient already exists, skipping git clone..."
else
until git clone https://github.com/QuilibriumNetwork/ceremonyclient.git; do
echo "Git clone failed, retrying..."
sleep 2
done
fi
cd ~/ceremonyclient/
git checkout release