update mirrorlist, make calamares-grub updating ondemand

Signed-off-by: Peter Jung <admin@ptr1337.dev>
This commit is contained in:
Peter Jung committed 2022-08-05 21:39:14 +02:00
1 parent 5963058976
commit 38a879e1b5
3 files changed
+14 -12

No files matched your search

@@ -4,16 +4,18 @@
#### ####
######################################################
#### Entry in file /etc/pacman.conf:
### [cachyos-desktop]
### Include = /etc/pacman.d/cachyos-mirrorlist
### [cachyos]
### Include = /etc/pacman.d/cachyos-mirrorlist
### Include = /etc/pacman.d/cachyos-v3-mirrorlist
######################################################
## Netherlands
Server = https://build.cachyos.org/repo/$arch/$repo
Server = https://nl.cachyos.org/repo/$arch/$repo
## Germany
Server = https://aur.cachyos.org/repo/$arch/$repo
Server = https://mirror.cachyos.org/repo/$arch/$repo
Server = https://aur.cachyos.org/repo/$arch/$repo
Server = https://build.cachyos.org/repo/$arch/$repo
## Netherlands
Server = https://nl.cachyos.org/repo/$arch/$repo
## Hungary much thanks to to ArchanfelHUN!
Server = https://hun.cachyos.org/repo/$arch/$repo
## Singapore much thanks to SM9!
Server = https://sg.cachyos.org/repo/$arch/$repo
## South Korea much thanks to silent_heigou!
Server = https://kr.cachyos.org/repo/$arch/$repo
@@ -45,12 +45,13 @@ Main() {
if [[ "${_exitcode}" -eq 2 ]]; then
echo "USING GRUB!"
yes | sudo pacman -Rsn cachyos-calamares-systemd cachyos-calamares-systemd-config
yes | sudo pacman -Sy --needed cachyos-calamares cachyos-calamares-config
yes | sudo pacman -R cachyos-calamares-systemd cachyos-calamares-systemd-config
yes | sudo pacman -R cachyos-calamares cachyos-calamares-config
yes | sudo pacman -Sy cachyos-calamares cachyos-calamares-config
elif [[ "${_exitcode}" -eq 3 ]]; then
echo "USING SYSTEMD-BOOT!"
yes | sudo pacman -Rsn cachyos-calamares cachyos-calamares-config
yes | sudo pacman -Sy --needed cachyos-calamares-systemd cachyos-calamares-systemd-config
yes | sudo pacman -R cachyos-calamares cachyos-calamares-config
yes | sudo pacman -Sy cachyos-calamares-systemd cachyos-calamares-systemd-config
else
exit
fi
-1
View File
@@ -187,7 +187,6 @@ perl
pipewire
pipewire-alsa
pipewire-jack
pipewire-media-session
pipewire-pulse
pipewire-v4l2
pipewire-zeroconf