mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Add Squid 7 support
https://forum.virtualmin.com/t/squid-version-7-1-not-support-in-webmin-any-solution-please/134609?u=ilia
This commit is contained in:
@@ -45,10 +45,10 @@ if ($ver =~ /version\s+(\S+)/i) {
|
||||
$ver = $1;
|
||||
}
|
||||
my $squid_version;
|
||||
if ($ver =~ /Version\s+([2-6]\.[0-9]+)/ ||
|
||||
if ($ver =~ /Version\s+([2-7]\.[0-9]+)/ ||
|
||||
$ver =~ /^(1\.1)\.\d+/ ||
|
||||
$ver =~ /^(1)\.NOVM/ ||
|
||||
$ver =~ /^([2-6]\.[0-9]+)/) {
|
||||
$ver =~ /^([2-7]\.[0-9]+)/) {
|
||||
# Save version number
|
||||
open(VERSION, ">$module_config_directory/version");
|
||||
print VERSION $1,"\n";
|
||||
|
||||
Reference in New Issue
Block a user