Don't complain about hba.conf is postgresql is remote
authorJamie Cameron <jcameron@webmin.com>
Fri, 27 Nov 2009 20:34:31 +0000 (12:34 -0800)
committerJamie Cameron <jcameron@webmin.com>
Fri, 27 Nov 2009 20:34:31 +0000 (12:34 -0800)
postgresql/install_check.pl

index 737154a..01735f8 100755 (executable)
@@ -11,7 +11,7 @@ sub is_installed
 return 0 if (!-x $config{'psql'});
 if ($_[0]) {
        # Check for .conf and if can login
-       return 1 if (!-r $hba_conf_file);
+       return 1 if (!-r $hba_conf_file && &is_postgresql_local());
        return 2 if (&is_postgresql_running() == 1);
        }
 return 1;