mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 14:13:29 +00:00
Don't consider Generic Linux a valid OS for RPM installs
This commit is contained in:
@@ -38,6 +38,7 @@ EOF
|
||||
open(OS, "os_list.txt");
|
||||
while(<OS>) {
|
||||
chop;
|
||||
next if (/^Generic\s+Linux/i);
|
||||
if (/^([^\t]+)\t+([^\t]+)\t+([^\t]+)\t+([^\t]+)\t*(.*)$/ && $5) {
|
||||
$if = $count++ == 0 ? "if" : "elsif";
|
||||
$oscheck .= "$if ($5) {\n".
|
||||
|
||||
Reference in New Issue
Block a user