summaryrefslogtreecommitdiff
path: root/games/pysolfc/patches/patch-pysollib_settings.py
blob: dc80029f1ea3b4630bdab886048a2edad6980f50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-pysollib_settings.py,v 1.1 2019/06/06 21:53:44 adam Exp $

Use custom data dir.

--- pysollib/settings.py.orig	2008-11-15 13:04:30.000000000 -0800
+++ pysollib/settings.py	2008-11-15 13:05:05.000000000 -0800
@@ -61,10 +61,7 @@ DATA_DIRS = []
 # you can add your extra directories here
 if os.name == 'posix':
     DATA_DIRS = [
-        '/usr/share/PySolFC',
-        '/usr/local/share/PySolFC',
-        '/usr/games/PySolFC',
-        '/usr/local/games/PySolFC',
+        '@DATADIR@'
         ]
 if os.name == 'nt':
     pass