Ensure ~/.gnupg exists (required for gnupg >= ~1.4.9)

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-07-09 15:40:39 +01:00
parent 9f96103510
commit 77e3602fa4
1 changed files with 3 additions and 0 deletions

View File

@ -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