File tree 2 files changed +9
-1
lines changed
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,8 @@ class Distro {
39
39
DebianBullseye,
40
40
DebianBookworm,
41
41
DebianTrixie,
42
+ DebianForky,
43
+ DebianDuke,
42
44
Exherbo,
43
45
RHEL5,
44
46
RHEL6,
@@ -129,7 +131,7 @@ class Distro {
129
131
bool IsOpenSUSE () const { return DistroVal == OpenSUSE; }
130
132
131
133
bool IsDebian () const {
132
- return DistroVal >= DebianLenny && DistroVal <= DebianTrixie ;
134
+ return DistroVal >= DebianLenny && DistroVal <= DebianDuke ;
133
135
}
134
136
135
137
bool IsUbuntu () const {
Original file line number Diff line number Diff line change @@ -161,6 +161,10 @@ static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) {
161
161
return Distro::DebianBookworm;
162
162
case 13 :
163
163
return Distro::DebianTrixie;
164
+ case 14 :
165
+ return Distro::DebianForky;
166
+ case 15 :
167
+ return Distro::DebianDuke;
164
168
default :
165
169
return Distro::UnknownDistro;
166
170
}
@@ -174,6 +178,8 @@ static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) {
174
178
.Case (" bullseye/sid" , Distro::DebianBullseye)
175
179
.Case (" bookworm/sid" , Distro::DebianBookworm)
176
180
.Case (" trixie/sid" , Distro::DebianTrixie)
181
+ .Case (" forky/sid" , Distro::DebianForky)
182
+ .Case (" duke/sid" , Distro::DebianDuke)
177
183
.Default (Distro::UnknownDistro);
178
184
}
179
185
You can’t perform that action at this time.
0 commit comments