Fix path on pre and post install runners https://github.com/webmin/webmin/issues/1080

This commit is contained in:
Jamie Cameron
2020-05-02 13:01:18 -07:00
parent dcd38eb188
commit 4e2108f612
2 changed files with 4 additions and 1 deletions

View File

@@ -1,8 +1,9 @@
#!/usr/local/bin/perl
# run-postinstalls.pl
# Run all the postinstall.pl scripts in module and theme directories
use lib '.';
use lib '.';
BEGIN { push(@INC, "."); };
$no_acl_check++;
use WebminCore;
&init_config();

View File

@@ -2,6 +2,8 @@
# run-uninstalls.pl
# Run all the uninstall.pl scripts in module directories
use lib '.';
BEGIN { push(@INC, "."); };
$no_acl_check++;
use WebminCore;
&init_config();