Closed dikim33 closed 7 years ago
Reported by valleegr on 10 Apr 2009 18:00 UTC RAPT currently implements its own distribution codename detection:
sub distro_to_codename ($) { my $distro = shift; if ($distro =~ /^debian-4-(.*)$/) { return "etch"; } elsif ($distro =~ /^ubuntu-7-(.*)$/) { return "gutsy"; } elsif ($distro =~ /^ubuntu-8-(.*)$/) { return "hardy"; } else { return undef; } }
This is very limited and duplicate functionalities from OS_Detect, that should be updated.
Comment by valleegr on 10 Apr 2009 18:45 UTC (In [8375]) This check-in fixes #538 - The distro codename detection in RAPT is now based on OS_Detect.
Reported by valleegr on 10 Apr 2009 18:00 UTC RAPT currently implements its own distribution codename detection:
This is very limited and duplicate functionalities from OS_Detect, that should be updated.