trying again

This commit is contained in:
Sohrab Behdani 2024-09-05 17:14:19 +03:30
parent 04c3084b5e
commit 10579893f9

View file

@ -33,7 +33,6 @@ main() {
install install
echo -e "$Blue### Install complete ###$reset" echo -e "$Blue### Install complete ###$reset"
echo -e "$Green### Start build $reponame with archiso ###$reset" echo -e "$Green### Start build $reponame with archiso ###$reset"
change_mirror
build build
fi fi
else else
@ -48,10 +47,6 @@ install() {
pacman -Sy; pacman --noconfirm -S --needed git archiso github-cli p7zip reflector rsync pacman -Sy; pacman --noconfirm -S --needed git archiso github-cli p7zip reflector rsync
} }
change_mirror() {
rm -rf /etc/pacman.d/mirrorlist
echo "Server = http://repo.flossir.org/repository/arch/\$repo/os/\$arch" | sudo tee -a /etc/pacman.d/mirrorlist
}
build() { build() {
set -e set -e