void-packages/srcpkgs/unknown-horizons/patches/py38.patch

15 lines
381 B
Diff

--- a/setup.py
+++ b/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