update to public gitea
This commit is contained in:
@ -18,12 +18,14 @@ get_public_bastion () {
|
||||
chmod 644 ${AUTHFILE}
|
||||
|
||||
cd /tmp
|
||||
rm -rf /tmp/zKeys*
|
||||
rm -rf /tmp/z*
|
||||
|
||||
curl -LJO https://github.com/spongle70/zKeys/archive/refs/heads/main.zip
|
||||
REPO=https://mint.nopenso.com/mirror
|
||||
|
||||
curl -LJO ${REPO}/zKeys/archive/main.zip
|
||||
unzip zKeys*.zip
|
||||
|
||||
cd zKeys-main
|
||||
cd zkeys
|
||||
echo "Save keys from github"
|
||||
if [ "${SERVER_TYPE}" == "master" ]
|
||||
then
|
||||
@ -47,7 +49,7 @@ get_public_bastion () {
|
||||
|
||||
echo "The approved keys are:"
|
||||
cat ${AUTHFILE}
|
||||
rm -rf ./zKeys*
|
||||
rm -rf ./z*
|
||||
echo "${SERVER_TYPE}: finished $0"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user