inspect: fully detect Arch Linux from os-release

Consider Arch Linux as rolling distribution, so it is recognized using
/etc/os-release.

The end result does not change, although this makes Arch Linux inspected
using os-release only, instead of getting inspection details mixed from
both os-release and lsb-release.
This commit is contained in:
Pino Toscano
2019-04-02 10:49:27 +02:00
parent c0155f5823
commit aee4a96ce2

View File

@@ -64,7 +64,7 @@ let arch_binaries =
* features.
*)
let rolling_distros =
[ DISTRO_GENTOO; DISTRO_VOID_LINUX ]
[ DISTRO_ARCHLINUX; DISTRO_GENTOO; DISTRO_VOID_LINUX ]
(* Parse a os-release file.
*