Add support of the next Ubuntu (Ubuntu 25.04 - Plucky Puffin)
This commit is contained in:
parent
29097dd2f3
commit
32b55f375f
@ -80,6 +80,7 @@ public:
|
|||||||
UbuntuMantic,
|
UbuntuMantic,
|
||||||
UbuntuNoble,
|
UbuntuNoble,
|
||||||
UbuntuOracular,
|
UbuntuOracular,
|
||||||
|
UbuntuPlucky,
|
||||||
UnknownDistro
|
UnknownDistro
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -131,7 +132,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool IsUbuntu() const {
|
bool IsUbuntu() const {
|
||||||
return DistroVal >= UbuntuHardy && DistroVal <= UbuntuOracular;
|
return DistroVal >= UbuntuHardy && DistroVal <= UbuntuPlucky;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
|
bool IsAlpineLinux() const { return DistroVal == AlpineLinux; }
|
||||||
|
@ -96,6 +96,7 @@ static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) {
|
|||||||
.Case("mantic", Distro::UbuntuMantic)
|
.Case("mantic", Distro::UbuntuMantic)
|
||||||
.Case("noble", Distro::UbuntuNoble)
|
.Case("noble", Distro::UbuntuNoble)
|
||||||
.Case("oracular", Distro::UbuntuOracular)
|
.Case("oracular", Distro::UbuntuOracular)
|
||||||
|
.Case("plucky", Distro::UbuntuPlucky)
|
||||||
.Default(Distro::UnknownDistro);
|
.Default(Distro::UnknownDistro);
|
||||||
return Version;
|
return Version;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user