瀏覽代碼

Ensure that libgfshare is installed

Bob Mottram 10 年之前
父節點
當前提交
ab0874427e
共有 1 個檔案被更改,包括 2 行新增0 行删除
  1. 2
    0
      src/freedombone-config

+ 2
- 0
src/freedombone-config 查看文件

260
   fi
260
   fi
261
 
261
 
262
   # try to recover the key from the servers
262
   # try to recover the key from the servers
263
+  apt-get -y install libgfshare-bin gnupg
263
   freedombone-recoverkey -u $MY_USERNAME -l $REMOTE_SERVERS_LIST
264
   freedombone-recoverkey -u $MY_USERNAME -l $REMOTE_SERVERS_LIST
264
   if [ ! "$?" = "0" ]; then
265
   if [ ! "$?" = "0" ]; then
265
       dialog --title "Encryption keys" --msgbox 'Your key could not be recovered' 6 70
266
       dialog --title "Encryption keys" --msgbox 'Your key could not be recovered' 6 70
282
         dialog --title "Encryption keys" --msgbox 'Not enough fragments to reconstruct the key' 6 70
283
         dialog --title "Encryption keys" --msgbox 'Not enough fragments to reconstruct the key' 6 70
283
         exit 7348
284
         exit 7348
284
     fi
285
     fi
286
+    apt-get -y install libgfshare-bin gnupg
285
     gfcombine /home/$MY_USERNAME/.gnupg_fragments/keyshare*
287
     gfcombine /home/$MY_USERNAME/.gnupg_fragments/keyshare*
286
     if [ ! "$?" = "0" ]; then
288
     if [ ! "$?" = "0" ]; then
287
         dialog --title "Encryption keys" --msgbox 'Unable to reconstruct the key' 6 70
289
         dialog --title "Encryption keys" --msgbox 'Unable to reconstruct the key' 6 70