Conditional certificate creation

This commit is contained in:
Bob Mottram 2015-01-25 15:50:47 +00:00
parent 563b35d13c
commit d8e9dbd9e6
1 changed files with 3 additions and 1 deletions

View File

@ -8402,7 +8402,9 @@ function install_voip {
fi
# Make an ssl cert for the server
makecert mumble
if [ ! -f /etc/ssl/certs/mumble.crt ]; then
makecert mumble
fi
# Check that the cert was created
if [ ! -f /etc/ssl/certs/mumble.crt ]; then