DebianStretch,
DebianBuster,
DebianBullseye,
+ DebianBookworm,
Exherbo,
RHEL5,
RHEL6,
bool IsOpenSUSE() const { return DistroVal == OpenSUSE; }
bool IsDebian() const {
- return DistroVal >= DebianLenny && DistroVal <= DebianBullseye;
+ return DistroVal >= DebianLenny && DistroVal <= DebianBookworm;
}
bool IsUbuntu() const {
return Distro::DebianBuster;
case 11:
return Distro::DebianBullseye;
+ case 12:
+ return Distro::DebianBookworm;
default:
return Distro::UnknownDistro;
}
.Case("stretch/sid", Distro::DebianStretch)
.Case("buster/sid", Distro::DebianBuster)
.Case("bullseye/sid", Distro::DebianBullseye)
+ .Case("bookworm/sid", Distro::DebianBookworm)
.Default(Distro::UnknownDistro);
}