From 9f9c2ef5cafe5c2e7a8844997212d848fba275b0 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 27 Mar 2012 09:40:08 +0200 Subject: [PATCH] Better test --- build/debian/dolibarr.postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/debian/dolibarr.postinst b/build/debian/dolibarr.postinst index 2276c287c51..436dbe46b70 100644 --- a/build/debian/dolibarr.postinst +++ b/build/debian/dolibarr.postinst @@ -83,7 +83,7 @@ case "$1" in chown -R root:www-data $installconfig chmod -R 660 $installconfig - if [ ! -f $config ] + if [ ! -s $config ] then # Create an empty conf.php with permission to web server echo Create empty file $config