void-packages/srcpkgs/guake/patches/guake-3.4.0-paths.patch
2018-12-13 21:11:32 +01:00

14 lines
503 B
Diff

https://bugs.gentoo.org/667878
https://github.com/Guake/guake/issues/1436
--- guake/paths.py
+++ guake/paths.py
@@ -35,7 +35,7 @@
def get_data_files_dir():
- d = os.path.dirname(os.path.dirname(sys.modules["guake"].__file__))
+ d = os.path.dirname(sys.modules["guake"].__file__)
p = os.path.basename(os.path.abspath(os.path.join(d, "..")))
if p in ["site-packages", "dist-packages"]:
# current "guake" package has been installed in a prefix structure (/usr, /usr/local or