OSDN Git Service
(root)
/
alterlinux
/
alterlinux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3576a0e
)
[fix] : Uncomment mirror list
author
hayao
<hayao@fascode.net>
Sat, 20 Mar 2021 14:18:27 +0000
(23:18 +0900)
committer
hayao
<hayao@fascode.net>
Sat, 20 Mar 2021 14:18:27 +0000
(23:18 +0900)
system/aur.sh
patch
|
blob
|
history
diff --git
a/system/aur.sh
b/system/aur.sh
index
d37d1fd
..
a3d1e6f
100755
(executable)
--- a/
system/aur.sh
+++ b/
system/aur.sh
@@
-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)"