From 0e0c22cb6fd1c6a563319b1462f82347dfe0fdfb Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Wed, 9 Jul 2008 15:40:39 +0100
Subject: Ensure ~/.gnupg exists (required for gnupg >= ~1.4.9)

---
 helpers/lh_chroot_sources | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index d0fc816..cecba95 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
-- 
cgit v1.0