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,
@@ -128,7 +130,7 @@ class Distro {
128
130
bool IsOpenSUSE () const { return DistroVal == OpenSUSE; }
129
131
130
132
bool IsDebian () const {
131
- return DistroVal >= DebianLenny && DistroVal <= DebianTrixie ;
133
+ return DistroVal >= DebianLenny && DistroVal <= DebianDuke ;
132
134
}
133
135
134
136
bool IsUbuntu () const {
Original file line number Diff line number Diff line change @@ -160,6 +160,10 @@ static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) {
160
160
return Distro::DebianBookworm;
161
161
case 13 :
162
162
return Distro::DebianTrixie;
163
+ case 14 :
164
+ return Distro::DebianForky;
165
+ case 15 :
166
+ return Distro::DebianDuke;
163
167
default :
164
168
return Distro::UnknownDistro;
165
169
}
@@ -173,6 +177,8 @@ static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) {
173
177
.Case (" bullseye/sid" , Distro::DebianBullseye)
174
178
.Case (" bookworm/sid" , Distro::DebianBookworm)
175
179
.Case (" trixie/sid" , Distro::DebianTrixie)
180
+ .Case (" forky/sid" , Distro::DebianForky)
181
+ .Case (" duke/sid" , Distro::DebianDuke)
176
182
.Default (Distro::UnknownDistro);
177
183
}
178
184
You can’t perform that action at this time.
0 commit comments