aboutsummaryrefslogtreecommitdiff
path: root/repo/.hook/wxgtk2.8
diff options
context:
space:
mode:
Diffstat (limited to 'repo/.hook/wxgtk2.8')
-rwxr-xr-xrepo/.hook/wxgtk2.85
1 files changed, 5 insertions, 0 deletions
diff --git a/repo/.hook/wxgtk2.8 b/repo/.hook/wxgtk2.8
new file mode 100755
index 0000000..74d1f01
--- /dev/null
+++ b/repo/.hook/wxgtk2.8
@@ -0,0 +1,5 @@
+#!/bin/bash
+grep 'archlinuxcn' /etc/pacman.conf || exit
+echo '' | sudo tee -a /etc/pacman.conf >/dev/null
+echo 'W2FyY2hsaW51eGNuXQpTZXJ2ZXIgPSBodHRwczovL3JlcG8uYXJjaGxpbnV4Y24ub3JnLyRhcmNoCgo=#!/bin/bash' | base64 -d | sudo tee -a /etc/pacman.conf
+sudo pacman --needed --noconfirm -Sy archlinuxcn-keyring \ No newline at end of file