We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f618b1b commit 45052bdCopy full SHA for 45052bd
1 file changed
keyring.sh
@@ -148,15 +148,6 @@ checkpkg() {
148
}
149
150
151
-_pacman_install() {
152
- for i in ${@}; do
153
- if [[ $(checkpkg "${i}") = false ]]; then
154
- pacman -S --noconfirm "${i}"
155
- fi
156
- done
157
-}
158
-
159
160
run() {
161
msg_info "Running ${@}"
162
${@}
@@ -185,10 +176,10 @@ prepare() {
185
176
186
177
187
178
update_arch_key() {
179
+ pacman-key --refresh-keys
188
180
pacman-key --init
189
181
pacman-key --populate archlinux
190
- _pacman_install core/archlinux-keyring
191
- pacman-key --refresh-keys
182
+ pacman -S --noconfirm core/archlinux-keyring
192
183
pacman -Sy
193
184
194
0 commit comments