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

16
run.sh
View File

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