diff --git a/shared/get_public_bastion.sh b/shared/get_public_bastion.sh index 3a12a95..5bf7daf 100755 --- a/shared/get_public_bastion.sh +++ b/shared/get_public_bastion.sh @@ -22,8 +22,13 @@ get_public_bastion () { REPO=https://mint.nopenso.com/mirror - curl -LJO ${REPO}/zKeys/archive/main.zip - unzip zKeys*.zip + which unzip + if [ $? == 1 ] + curl -LJO ${REPO}/zKeys/archive/main.tar.gz + tar -zvxf zKeys*.tar.gz + else + curl -LJO ${REPO}/zKeys/archive/main.zip + unzip zKeys*.zip cd zkeys echo "Save keys from github"