Adding comment about manual check for archlinux

Added comment with ref to commit about manual check for archlinux, due
to the bug in python2.

Signed-off-by: Philippe Loctaux <loctauxphilippe@gmail.com>
This commit is contained in:
Philippe Loctaux 2018-08-17 13:16:01 +02:00
parent 0dab34a0dc
commit 9805802d71
1 changed files with 2 additions and 0 deletions

View File

@ -49,6 +49,8 @@ def get_os_name():
DISTRO = platform.linux_distribution()[0]
if DISTRO:
OS = OS + "-%s" % DISTRO.split()[0].lower()
# add archlinux manually, for more information
# see commit afb28d87af13a8e91e6115112b361e8ae8ac7167
if os.path.exists('/etc/arch-release'):
OS = "linux-arch"