File tree Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Expand file tree Collapse file tree 2 files changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -48,11 +48,6 @@ class Distro {
48
48
Fedora,
49
49
Gentoo,
50
50
OpenSUSE,
51
- UbuntuHardy,
52
- UbuntuIntrepid,
53
- UbuntuJaunty,
54
- UbuntuKarmic,
55
- UbuntuLucid,
56
51
UbuntuMaverick,
57
52
UbuntuNatty,
58
53
UbuntuOneiric,
@@ -135,7 +130,7 @@ class Distro {
135
130
}
136
131
137
132
bool IsUbuntu () const {
138
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuQuesting;
133
+ return DistroVal >= UbuntuMaverick && DistroVal <= UbuntuQuesting;
139
134
}
140
135
141
136
bool IsAlpineLinux () const { return DistroVal == AlpineLinux; }
Original file line number Diff line number Diff line change @@ -61,11 +61,6 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
61
61
if (Version == Distro::UnknownDistro &&
62
62
Line.starts_with (" DISTRIB_CODENAME=" ))
63
63
Version = llvm::StringSwitch<Distro::DistroType>(Line.substr (17 ))
64
- .Case (" hardy" , Distro::UbuntuHardy)
65
- .Case (" intrepid" , Distro::UbuntuIntrepid)
66
- .Case (" jaunty" , Distro::UbuntuJaunty)
67
- .Case (" karmic" , Distro::UbuntuKarmic)
68
- .Case (" lucid" , Distro::UbuntuLucid)
69
64
.Case (" maverick" , Distro::UbuntuMaverick)
70
65
.Case (" natty" , Distro::UbuntuNatty)
71
66
.Case (" oneiric" , Distro::UbuntuOneiric)
You can’t perform that action at this time.
0 commit comments