OSDN Git Service

[fix] : Uncomment mirror list
authorhayao <hayao@fascode.net>
Sat, 20 Mar 2021 14:18:27 +0000 (23:18 +0900)
committerhayao <hayao@fascode.net>
Sat, 20 Mar 2021 14:18:27 +0000 (23:18 +0900)
system/aur.sh

index d37d1fd..a3d1e6f 100755 (executable)
@@ -52,6 +52,9 @@ pacman-key --init
 #eval $(cat "/etc/systemd/system/pacman-init.service" | grep 'ExecStart' | sed "s|ExecStart=||g" )
 ls "/usr/share/pacman/keyrings/"*".gpg" | sed "s|.gpg||g" | xargs | pacman-key --populate
 
+# Un comment the mirror list.
+sed -i "s/#Server/Server/g" "/etc/pacman.d/mirrorlist"
+
 # Install yay
 (
     _oldpwd="$(pwd)"