Skip to content

Commit

Permalink
support rhel distro (#2620)
Browse files Browse the repository at this point in the history
  • Loading branch information
nagworld9 authored Jun 29, 2022
1 parent 99d07d2 commit ca6bdd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ def get_data_files(name, version, fullname): # pylint: disable=R0912
systemd_dir_path = osutil.get_systemd_unit_file_install_path()
agent_bin_path = osutil.get_agent_bin_path()

if name in ('redhat', 'centos', 'almalinux', 'cloudlinux', 'rocky'):
if name in ('redhat', 'rhel', 'centos', 'almalinux', 'cloudlinux', 'rocky'):
if version.startswith("8") or version.startswith("9"):
# redhat8+ default to py3
set_bin_files(data_files, dest=agent_bin_path,
Expand Down

0 comments on commit ca6bdd1

Please sign in to comment.