ソースを参照

Conditional certificate creation

Bob Mottram 10 年 前
コミット
d8e9dbd9e6
共有1 個のファイルを変更した3 個の追加1 個の削除を含む
  1. 3
    1
      src/freedombone

+ 3
- 1
src/freedombone ファイルの表示

8402
   fi
8402
   fi
8403
 
8403
 
8404
   # Make an ssl cert for the server
8404
   # Make an ssl cert for the server
8405
-  makecert mumble
8405
+  if [ ! -f /etc/ssl/certs/mumble.crt ]; then
8406
+      makecert mumble
8407
+  fi
8406
 
8408
 
8407
   # Check that the cert was created
8409
   # Check that the cert was created
8408
   if [ ! -f /etc/ssl/certs/mumble.crt ]; then
8410
   if [ ! -f /etc/ssl/certs/mumble.crt ]; then