mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Check for configs too b6ad8b0f41
This commit is contained in:
@@ -21,8 +21,10 @@ elsif ($gconfig{'os_type'} eq 'slackware-linux' &&
|
||||
# Special case for Slackware 9.1+
|
||||
do "$gconfig{'os_type'}-9.1-ALL-lib.pl";
|
||||
}
|
||||
elsif ($gconfig{'os_type'} eq 'debian-linux' && -d "/etc/netplan" &&
|
||||
&has_command("netplan")) {
|
||||
elsif ($gconfig{'os_type'} eq 'debian-linux' &&
|
||||
&has_command("netplan") &&
|
||||
-d "/etc/netplan" &&
|
||||
glob("/etc/netplan/*")) {
|
||||
# Special case for newer Ubuntu versions
|
||||
do "netplan-lib.pl";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user