From 77e3602fa4f663e70189b24b3649f71761f90ce5 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Wed, 9 Jul 2008 15:40:39 +0100 Subject: [PATCH] Ensure ~/.gnupg exists (required for gnupg >= ~1.4.9) Signed-off-by: Chris Lamb --- helpers/lh_chroot_sources | 3 +++ 1 file changed, 3 insertions(+) diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources index d0fc8168b..cecba9593 100755 --- a/helpers/lh_chroot_sources +++ b/helpers/lh_chroot_sources @@ -124,6 +124,9 @@ case "${1}" in _LH_DOTGNUPG_EXISTED=1 fi + # Ensure ~/.gnupg exists (required for gnupg >= ~1.4.9) + mkdir -p chroot/root/.gnupg + if ls cache/local-package-keyring.* >/dev/null 2>&1 then cp cache/local-package-keyring.* chroot/root