diff --git a/shared/get_public_rsync.sh b/shared/get_public_rsync.sh index ccba369..614dc2f 100755 --- a/shared/get_public_rsync.sh +++ b/shared/get_public_rsync.sh @@ -21,10 +21,17 @@ get_public_rsync () { cd /tmp rm -rf /tmp/z* - REPO=https://mint.nopenso.com/mirror + REPO=https://git.cabinbagonly.com/mirror - curl -LJO ${REPO}/zKeys/archive/main.zip - unzip zKeys*.zip + which unzip + if [ $? == 1 ] + then + curl -LJO ${REPO}/zKeys/archive/main.tar.gz + tar -zvxf zKeys*.tar.gz + else + curl -LJO ${REPO}/zKeys/archive/main.zip + unzip zKeys*.zip + fi cd zkeys echo "Save keys from github"