codename = minor
else:
codename = major
- if not codename and 'oracle' in distro.lower(): # this could be an empty string in Oracle linux
+ if not codename and 'oracle' in distro.lower(): # this could be an empty string in Oracle linux
codename = 'oracle'
- if not codename and 'virtuozzo linux' in distro.lower(): # this could be an empty string in Virtuozzo linux
+ if not codename and 'virtuozzo linux' in distro.lower(): # this could be an empty string in Virtuozzo linux
codename = 'virtuozzo'
+ if not codename and 'arch' in distro.lower(): # this could be an empty string in Arch linux
+ codename = 'arch'
return (
str(distro).rstrip(),