Skip to content

Instantly share code, notes, and snippets.

@rpavlik
Created March 20, 2014 18:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rpavlik/9671166 to your computer and use it in GitHub Desktop.
Save rpavlik/9671166 to your computer and use it in GitHub Desktop.
Patch for xpra 0.11.6 setup script to force a relative `etc` directory for use with stow, etc.
diff --git a/setup.py b/setup.py
index 5cfd4b7..40053ce 100755
--- a/setup.py
+++ b/setup.py
@@ -928,6 +928,7 @@ else:
#if we're not using the wrapper, don't install it
scripts.remove("scripts/xpra_Xdummy")
etc_files.append(xorg_conf)
+ etc_prefix='etc/xpra'
data_files.append((etc_prefix, etc_files))
setup_options["scripts"] = scripts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment