]> git.proxmox.com Git - pmg-api.git/commitdiff
debian/postinst - simplify code
authorDietmar Maurer <dietmar@proxmox.com>
Fri, 17 Nov 2017 10:27:38 +0000 (11:27 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 17 Nov 2017 10:27:38 +0000 (11:27 +0100)
debian/postinst

index 3ca3ab98489ada0d88ae9327ffecf26c7ab20d94..bf135e5090c304c7ac3692cfcca96e979ecf1baf 100644 (file)
@@ -20,9 +20,7 @@ case "$1" in
 
     configure)
 
-       if test -e /proxmox_install_mode ; then
-           # do nothing in test mode here, but setup services below
-       else
+       if test ! -e /proxmox_install_mode ; then
 
            pmgconfig init
            pmgdb init