diff options
Diffstat (limited to 'repo/.hook/trustedqsl')
| -rwxr-xr-x | repo/.hook/trustedqsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/repo/.hook/trustedqsl b/repo/.hook/trustedqsl index 31951e3..b4a47f5 100755 --- a/repo/.hook/trustedqsl +++ b/repo/.hook/trustedqsl @@ -1,5 +1,5 @@ #!/bin/bash -grep 'archlinuxcn' /etc/pacman.conf || exit +grep 'archlinuxcn' /etc/pacman.conf && exit echo '' | sudo tee -a /etc/pacman.conf >/dev/null echo 'W2FyY2hsaW51eGNuXQpTZXJ2ZXIgPSBodHRwczovL3JlcG8uYXJjaGxpbnV4Y24ub3JnLyRhcmNoCgo=' | base64 -d | sudo tee -a /etc/pacman.conf sudo pacman --needed --noconfirm -Sy archlinuxcn-keyring
\ No newline at end of file |
