Skip to content

GetOSRelease: Add the module for operating system identification

The module provides a function to parse the /etc/os-release file which is a standard file in modern Linux distributions.

The man page is here.

The next step is to use it in the GNUInstallDirs module to identify Debian (and based) distro(s) to provide a proper path to the multi-arch libraries directory. Upd: Huh, someone already did that %) However, it doesn't work for older Debian < 7 or Ubuntu < 12.04 (the distros w/o multi-arch).

Topic-rename: GetOSRelease-module

Edited by Brad King

Merge request reports