void-packages/srcpkgs/unknown-horizons/patches/py38.patch
2019-12-23 14:11:46 +01:00

14 lines
382 B
Diff

--- setup.py.orig
+++ setup.py
@@ -39,10 +39,7 @@
# Ensure we are in the correct directory
os.chdir(os.path.realpath(os.path.dirname(__file__)))
-if platform.dist()[0].lower() in ('debian', 'ubuntu'):
- executable_path = 'games'
-else:
- executable_path = 'bin'
+executable_path = 'bin'
# this trick is for setting RELEASE_VERSION if the code is cloned from git repository