mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
Support Squid v5.x
This commit is contained in:
@@ -43,10 +43,10 @@ if ($ver =~ /version\s+(\S+)/i) {
|
||||
$ver = $1;
|
||||
}
|
||||
my $squid_version;
|
||||
if ($ver =~ /Version\s+([2-4]\.[0-9]+)/ ||
|
||||
if ($ver =~ /Version\s+([2-5]\.[0-9]+)/ ||
|
||||
$ver =~ /^(1\.1)\.\d+/ ||
|
||||
$ver =~ /^(1)\.NOVM/ ||
|
||||
$ver =~ /^([2-4]\.[0-9]+)/) {
|
||||
$ver =~ /^([2-5]\.[0-9]+)/) {
|
||||
# Save version number
|
||||
open(VERSION, ">$module_config_directory/version");
|
||||
print VERSION $1,"\n";
|
||||
|
||||
Reference in New Issue
Block a user