Sfoglia il codice sorgente

Mark gpg keys as having been imported

Bob Mottram 8 anni fa
parent
commit
2798401e2f
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1
    1
      src/freedombone-config
  2. 1
    0
      src/freedombone-utils-keys

+ 1
- 1
src/freedombone-config Vedi File

14
 # License
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
 # This program is free software: you can redistribute it and/or modify
19
 # This program is free software: you can redistribute it and/or modify
20
 # it under the terms of the GNU Affero General Public License as published by
20
 # it under the terms of the GNU Affero General Public License as published by

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

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