update to public gitea

This commit is contained in:
USER
2023-03-24 20:13:44 +00:00
parent 5a61f554e2
commit 0c7bf11f9c
5 changed files with 118 additions and 9 deletions

View File

@ -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"
}