define custom mirror at runtime
All checks were successful
App Image CI / Build app image (push) Successful in -1m15s
Docker Image CI / Build build images (arch) (push) Successful in 1s
Docker Image CI / Build build images (artix) (push) Successful in -34s
NPM Audit Check / Check NPM audit (push) Successful in -2m9s

This commit is contained in:
2025-11-12 01:30:57 -05:00
parent 259f439101
commit d14ccdf939
5 changed files with 31 additions and 8 deletions

View File

@@ -2,6 +2,12 @@
/scripts/pacman.conf.pl | sudo tee "/etc/pacman.conf" > /dev/null
if [ -n "$MIRROR" ]
then
sudo sed -i "1iServer = $MIRROR" /etc/pacman.d/mirrorlist
fi
if [ -z "$REPO" ]
then
/bin/bash