Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/makechrootpkg.in
diff options
context:
space:
mode:
Diffstat (limited to 'makechrootpkg.in')
-rw-r--r--makechrootpkg.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/makechrootpkg.in b/makechrootpkg.in
index ad5e3d9..8f07dc1 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -157,7 +157,8 @@ prepare_chroot() {
# Read .makepkg.conf and gnupg pubring
if [[ -r $USER_HOME/.gnupg/pubring.kbx ]]; then
install -D "$USER_HOME/.gnupg/pubring.kbx" "$copydir/build/.gnupg/pubring.kbx"
- elif [[ -r $USER_HOME/.gnupg/pubring.gpg ]]; then
+ fi
+ if [[ -r $USER_HOME/.gnupg/pubring.gpg ]]; then
install -D "$USER_HOME/.gnupg/pubring.gpg" "$copydir/build/.gnupg/pubring.gpg"
fi