mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Handle LUSCA squid version
This commit is contained in:
@@ -31,6 +31,10 @@ if (!-r $config{'squid_conf'}) {
|
||||
|
||||
# Check the version number
|
||||
$fullver = $ver = &backquote_command("$config{'squid_path'} -v 2>&1");
|
||||
if ($ver =~ /LUSCA/) {
|
||||
# Special Squid variant, actually equivalent to 2.7
|
||||
$ver = "Squid Cache: Version 2.7.STABLE.LUSCA.2012";
|
||||
}
|
||||
if ($ver =~ /version\s+(\S+)/i) {
|
||||
$ver = $1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user