File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ static Distro::DistroType DetectOsRelease(llvm::vfs::FileSystem &VFS) {
39
39
.Case (" fedora" , Distro::Fedora)
40
40
.Case (" gentoo" , Distro::Gentoo)
41
41
.Case (" arch" , Distro::ArchLinux)
42
+ .Case (" exherbo" , Distro::Exherbo)
42
43
// On SLES, /etc/os-release was introduced in SLES 11.
43
44
.Case (" sles" , Distro::OpenSUSE)
44
45
.Case (" opensuse" , Distro::OpenSUSE)
@@ -188,15 +189,6 @@ static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) {
188
189
}
189
190
190
191
// ...and others.
191
- if (VFS.exists (" /etc/exherbo-release" ))
192
- return Distro::Exherbo;
193
-
194
- if (VFS.exists (" /etc/alpine-release" ))
195
- return Distro::AlpineLinux;
196
-
197
- if (VFS.exists (" /etc/arch-release" ))
198
- return Distro::ArchLinux;
199
-
200
192
if (VFS.exists (" /etc/gentoo-release" ))
201
193
return Distro::Gentoo;
202
194
You can’t perform that action at this time.
0 commit comments