diff --git a/lib/train/platforms/detect/specifications/os.rb b/lib/train/platforms/detect/specifications/os.rb index ca4ccf4e..7624c6ab 100644 --- a/lib/train/platforms/detect/specifications/os.rb +++ b/lib/train/platforms/detect/specifications/os.rb @@ -191,11 +191,11 @@ def self.load } plat.name('opensuse').title('OpenSUSE Linux').in_family('suse') .detect { - true if unix_file_contents('/etc/SuSE-release') =~ /^openSUSE/ + true if unix_file_contents('/etc/SuSE-release') =~ /^opensuse/i } plat.name('suse').title('Suse Linux').in_family('suse') .detect { - true if unix_file_contents('/etc/SuSE-release') =~ /suse/ + true if unix_file_contents('/etc/SuSE-release') =~ /suse/i } # arch