Remove table column

This commit is contained in:
Rodrigo de Avila 2023-08-10 08:18:13 -03:00 committed by GitHub
parent ca7e390094
commit 9e21930525
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 7 deletions

16
run.sh
View File

@ -35,12 +35,8 @@ echo ""
echo "- Address: \`rsync.repo.almalinux.org\`"
echo "- Last update: \`$(date -ud "@$ORIGINAL_TIME" +"%Y-%m-%d %H:%M:%S") UTC\`"
echo ""
echo "## Mirror drift"
echo ""
echo "- Last report update: \`$(date -u +"%Y-%m-%d %H:%M:%S") UTC\`"
echo ""
echo "| Name | Sponsor | Status | URL |"
echo "|:--|:--|:--|:--|"
echo "| Mirror Name | Sponsor | Status |"
echo "|:--|:--|:--|"
for FILE in $FILES; do
DETAILS=$(curl -fsSL "https://raw.githubusercontent.com/AlmaLinux/mirrors/master/mirrors.d/$FILE")
@ -74,5 +70,11 @@ for FILE in $FILES; do
TIME="Unavailable"
fi
echo "| $NAME | $SPONSOR | $TIME | [${ADDRESS}TIME](${ADDRESS}TIME) |"
echo "| $NAME | $SPONSOR | $TIME |"
done
echo ""
echo "Last report update: \`$(date -u +"%Y-%m-%d %H:%M:%S") UTC\`"
echo ""
exit 0