Updates for using Gitea to power AniNIX::Foundation instead of CGIT
This commit is contained in:
parent
f0040ac2fa
commit
8080f8ba60
@ -127,7 +127,7 @@ function UpdateLocalRepo() {
|
|||||||
|
|
||||||
# Clear variables
|
# Clear variables
|
||||||
aurconf='/usr/local/etc/Maat/aur.list'
|
aurconf='/usr/local/etc/Maat/aur.list'
|
||||||
baseurl='https://aninix.net/foundation/'
|
baseurl='https://foundation.aninix.net/AniNIX'
|
||||||
homedir="/srv/maat/"
|
homedir="/srv/maat/"
|
||||||
unset incremental
|
unset incremental
|
||||||
unset skipPatching
|
unset skipPatching
|
||||||
@ -181,7 +181,7 @@ SeedWebFile
|
|||||||
if [ -n "$MAATTESTINGVAR" ]; then
|
if [ -n "$MAATTESTINGVAR" ]; then
|
||||||
BuildRepo "$baseurl"/HelloWorld
|
BuildRepo "$baseurl"/HelloWorld
|
||||||
else
|
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" '.'
|
BuildRepo "$AniNIXrepo" '.'
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user