Browse Source

Mark gpg keys as having been imported

Bob Mottram 8 years ago
parent
commit
2798401e2f
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      src/freedombone-config
  2. 1
    0
      src/freedombone-utils-keys

+ 1
- 1
src/freedombone-config View File

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

+ 1
- 0
src/freedombone-utils-keys View File

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