forked from OSchip/llvm-project
Add support of the future Debian (Debian 11 - Bullseye)
https://wiki.debian.org/DebianBullseye llvm-svn: 358757
This commit is contained in:
parent
454014199d
commit
54a93a33ee
|
@ -33,6 +33,7 @@ public:
|
|||
DebianJessie,
|
||||
DebianStretch,
|
||||
DebianBuster,
|
||||
DebianBullseye,
|
||||
Exherbo,
|
||||
RHEL5,
|
||||
RHEL6,
|
||||
|
@ -113,7 +114,7 @@ public:
|
|||
}
|
||||
|
||||
bool IsDebian() const {
|
||||
return DistroVal >= DebianLenny && DistroVal <= DebianBuster;
|
||||
return DistroVal >= DebianLenny && DistroVal <= DebianBullseye;
|
||||
}
|
||||
|
||||
bool IsUbuntu() const {
|
||||
|
|
|
@ -94,6 +94,8 @@ static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) {
|
|||
return Distro::DebianStretch;
|
||||
case 10:
|
||||
return Distro::DebianBuster;
|
||||
case 11:
|
||||
return Distro::DebianBullseye;
|
||||
default:
|
||||
return Distro::UnknownDistro;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue