diff options
Diffstat (limited to 'kvmd.install')
-rw-r--r-- | kvmd.install | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd.install b/kvmd.install index 73f9440a..75e099c9 100644 --- a/kvmd.install +++ b/kvmd.install @@ -16,12 +16,12 @@ post_upgrade() { chown kvmd /var/lib/kvmd/msd || true - if [ ! -d /etc/kvmd/nginx/ssl/server.crt ]; then + if [ ! -e /etc/kvmd/nginx/ssl/server.crt ]; then echo "==> Generating KVMD-Nginx certificate ..." kvmd-gencert --do-the-thing fi - if [ ! -d /etc/kvmd/vnc/ssl/server.crt ]; then + if [ ! -e /etc/kvmd/vnc/ssl/server.crt ]; then echo "==> Generating KVMD-VNC certificate ..." kvmd-gencert --do-the-thing --vnc fi |