Skip to content

Commit

Permalink
#3597 openSUSE Leap 15.4 still does not use libexec
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jul 26, 2022
1 parent 4425c08 commit a03b3f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion setup.py
Expand Up @@ -1589,7 +1589,12 @@ def add_data_files(target_dir, files):
assert isinstance(target_dir, str)
assert isinstance(files, (list, tuple))
data_files.append((target_dir, files))
add_data_files("libexec/xpra/", ["fs/libexec/xpra/%s" % x for x in libexec_scripts])
if is_openSUSE():
# basically need $(basename $(rpm -E '%{_libexecdir}'))
libexec_dir = "__LIBEXECDIR__"
else:
libexec_dir = "libexec"
add_data_files(libexec_dir+"/xpra/", ["fs/libexec/xpra/%s" % x for x in libexec_scripts])
if data_ENABLED:
man_path = "share/man"
icons_dir = "icons"
Expand Down

0 comments on commit a03b3f6

Please sign in to comment.