Mark gpg keys as having been imported

This commit is contained in:
Bob Mottram 2017-06-21 20:36:49 +01:00
parent 3dcd54cc6c
commit 2798401e2f
2 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@
# License
# =======
#
# Copyright (C) 2015-2016 Bob Mottram <bob@freedombone.net>
# Copyright (C) 2015-2017 Bob Mottram <bob@freedombone.net>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by

View File

@ -240,6 +240,7 @@ function interactive_key_recovery {
${PROJECT_NAME}-recoverkey -u $MY_USERNAME
if [ -d /home/$MY_USERNAME/.gnupg ]; then
cp -rf /home/$MY_USERNAME/.gnupg /root
GPG_KEYS_IMPORTED='yes'
fi
}