We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97af7b4 commit 475016eCopy full SHA for 475016e
1 file changed
lib/Virtualmin/Config/Plugin/PostgreSQL.pm
@@ -25,8 +25,9 @@ sub actions {
25
26
$self->use_webmin();
27
28
+ $self->spin();
29
+
30
if (foreign_check("postgresql")) {
- $self->spin();
31
eval {
32
my $err; # We should handle errors better here.
33
foreign_require("postgresql", "postgresql-lib.pl");
@@ -46,6 +47,10 @@ sub actions {
46
47
$log->error("Error configuring PostgreSQL: $@");
48
$self->done(1);
49
}
50
+ } else {
51
+ $log->info("PostgreSQL Webmin module has not been installed yet, ".
52
+ "skipping configuration.");
53
+ $self->done(2);
54
55
56
0 commit comments