File tree 1 file changed +3
-16
lines changed
1 file changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -84,25 +84,12 @@ refreshkeys() {
84
84
;;
85
85
* )
86
86
whiptail --infobox " Enabling Arch Repositories for more a more extensive software collection..." 7 40
87
- if ! grep -q " ^\[universe\]" /etc/pacman.conf; then
88
- echo " [universe]
89
- Server = https://universe.artixlinux.org/\$ arch
90
- Server = https://mirror1.artixlinux.org/universe/\$ arch
91
- Server = https://mirror.pascalpuffke.de/artix-universe/\$ arch
92
- Server = https://mirrors.qontinuum.space/artixlinux-universe/\$ arch
93
- Server = https://mirror1.cl.netactuate.com/artix/universe/\$ arch
94
- Server = https://ftp.crifo.org/artix-universe/\$ arch
95
- Server = https://artix.sakamoto.pl/universe/\$ arch" >> /etc/pacman.conf
96
- pacman -Sy --noconfirm > /dev/null 2>&1
97
- fi
98
87
pacman --noconfirm --needed -S \
99
88
artix-keyring artix-archlinux-support > /dev/null 2>&1
100
- for repo in extra community; do
101
- grep -q " ^\[$repo \]" /etc/pacman.conf ||
102
- echo " [$repo ]
89
+ grep -q " ^\[extra\]" /etc/pacman.conf ||
90
+ echo " [extra]
103
91
Include = /etc/pacman.d/mirrorlist-arch" >> /etc/pacman.conf
104
- done
105
- pacman -Sy > /dev/null 2>&1
92
+ pacman -Sy --noconfirm > /dev/null 2>&1
106
93
pacman-key --populate archlinux > /dev/null 2>&1
107
94
;;
108
95
esac
You can’t perform that action at this time.
0 commit comments