summarize: check more locations to discover QP dir
This commit is contained in:
parent
1bfebd0bfd
commit
8ef798bbac
@ -293,8 +293,8 @@ sub get_qp_dir {
|
|||||||
return "$homedir";
|
return "$homedir";
|
||||||
};
|
};
|
||||||
foreach my $s ( qw/ smtpd qpsmtpd qpsmtpd-dev / ) {
|
foreach my $s ( qw/ smtpd qpsmtpd qpsmtpd-dev / ) {
|
||||||
if ( -d "$homedir/$s/plugins" ) {
|
if ( -d "$homedir/smtpd/plugins" ) {
|
||||||
return "$homedir/$s";
|
return "$homedir/smtpd";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user