File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ class Distro {
76
76
UbuntuImpish,
77
77
UbuntuJammy,
78
78
UbuntuKinetic,
79
+ UbuntuLunar,
79
80
UnknownDistro
80
81
};
81
82
@@ -127,7 +128,7 @@ class Distro {
127
128
}
128
129
129
130
bool IsUbuntu () const {
130
- return DistroVal >= UbuntuHardy && DistroVal <= UbuntuKinetic ;
131
+ return DistroVal >= UbuntuHardy && DistroVal <= UbuntuLunar ;
131
132
}
132
133
133
134
bool IsAlpineLinux () const { return DistroVal == AlpineLinux; }
Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
92
92
.Case (" impish" , Distro::UbuntuImpish)
93
93
.Case (" jammy" , Distro::UbuntuJammy)
94
94
.Case (" kinetic" , Distro::UbuntuKinetic)
95
+ .Case (" lunar" , Distro::UbuntuLunar)
95
96
.Default (Distro::UnknownDistro);
96
97
return Version;
97
98
}
You can’t perform that action at this time.
0 commit comments