Don't consider Generic Linux a valid OS for RPM installs

This commit is contained in:
Jamie Cameron
2021-09-09 16:19:55 -07:00
parent 26386101ad
commit 8de8600679

View File

@@ -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".