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

This commit is contained in:
Chris Lamb 2008-07-09 15:40:39 +01:00 committed by Daniel Baumann
parent 5883931966
commit 0e0c22cb6f
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