diff --git a/install/install_quilibrium_service.sh b/install/install_quilibrium_service.sh index 3b5bd49..a6ed419 100644 --- a/install/install_quilibrium_service.sh +++ b/install/install_quilibrium_service.sh @@ -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