Updates for using Gitea to power AniNIX::Foundation instead of CGIT

This commit is contained in:
DarkFeather 2019-12-05 01:36:03 -06:00
parent f0040ac2fa
commit 8080f8ba60

View File

@ -127,7 +127,7 @@ function UpdateLocalRepo() {
# Clear variables
aurconf='/usr/local/etc/Maat/aur.list'
baseurl='https://aninix.net/foundation/'
baseurl='https://foundation.aninix.net/AniNIX'
homedir="/srv/maat/"
unset incremental
unset skipPatching
@ -181,7 +181,7 @@ SeedWebFile
if [ -n "$MAATTESTINGVAR" ]; then
BuildRepo "$baseurl"/HelloWorld
else
for AniNIXrepo in `wget -q -O - "$baseurl" | grep toplevel-repo | cut -f 4 -d \' | sed "s#^#$baseurl#"`; do
for AniNIXrepo in `curl -s "$baseurl" | grep 'class="name"' | cut -f 4 -d \" | sed "s#^#https://$(echo "$baseurl" | cut -f 3 -d /)#" | sed 's/$/.git/'`; do
BuildRepo "$AniNIXrepo" '.'
done
fi