Mark gpg keys as having been imported
This commit is contained in:
parent
3dcd54cc6c
commit
2798401e2f
|
@ -14,7 +14,7 @@
|
||||||
# License
|
# 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
|
# 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
|
# it under the terms of the GNU Affero General Public License as published by
|
||||||
|
|
|
@ -240,6 +240,7 @@ function interactive_key_recovery {
|
||||||
${PROJECT_NAME}-recoverkey -u $MY_USERNAME
|
${PROJECT_NAME}-recoverkey -u $MY_USERNAME
|
||||||
if [ -d /home/$MY_USERNAME/.gnupg ]; then
|
if [ -d /home/$MY_USERNAME/.gnupg ]; then
|
||||||
cp -rf /home/$MY_USERNAME/.gnupg /root
|
cp -rf /home/$MY_USERNAME/.gnupg /root
|
||||||
|
GPG_KEYS_IMPORTED='yes'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue