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