From 8080f8ba601b46fbf6e0eb684470bc977ab83166 Mon Sep 17 00:00:00 2001 From: DarkFeather Date: Thu, 5 Dec 2019 01:36:03 -0600 Subject: [PATCH] Updates for using Gitea to power AniNIX::Foundation instead of CGIT --- maat-builder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maat-builder b/maat-builder index 2f07e6f..3dc39a6 100755 --- a/maat-builder +++ b/maat-builder @@ -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