diff options
Diffstat (limited to 'media-sound/pithos/files/pithos-20130808-detect-datadir.patch')
-rw-r--r-- | media-sound/pithos/files/pithos-20130808-detect-datadir.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/media-sound/pithos/files/pithos-20130808-detect-datadir.patch b/media-sound/pithos/files/pithos-20130808-detect-datadir.patch deleted file mode 100644 index ba3414bb..00000000 --- a/media-sound/pithos/files/pithos-20130808-detect-datadir.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff --git a/pithos/pithosconfig.py b/pithos/pithosconfig.py -index dfaaf5d..f82b458 100644 ---- a/pithos/pithosconfig.py -+++ b/pithos/pithosconfig.py -@@ -16,7 +16,10 @@ - - # where your project will head for your data (for instance, images and ui files) - # by default, this is ../data, relative your trunk layout --__pithos_data_directory__ = '../data/' -+from os.path import isdir, normpath, join -+__pithos_data_directory__ = (normpath(join(__file__, '../data/')) -+ if isdir(join(__file__, '../data/')) -+ else '/usr/share/pithos') - __license__ = 'GPL-3' - - VERSION = '0.3.17' |