20 lines
823 B
Diff
20 lines
823 B
Diff
From: Julian Ospald <hasufell@posteo.de>
|
|
Date: Tue Sep 8 10:10:18 UTC 2015
|
|
Subject: Fix data path fallback
|
|
Upstream: no, correct fix pending since 'sys.prefix' is broken in exherbo
|
|
|
|
|
|
diff --git a/blink/resources.py b/blink/resources.py
|
|
index e981ed8..f1f4f5c 100644
|
|
--- a/blink/resources.py
|
|
+++ b/blink/resources.py
|
|
@@ -81,7 +81,7 @@ class Resources(object):
|
|
elif os.path.exists(os.path.join(application_directory, 'resources', 'blink.ui')):
|
|
cls._cached_directory = os.path.join(application_directory, 'resources')
|
|
else:
|
|
- cls._cached_directory = os.path.join(application_directory, 'share', 'blink')
|
|
+ cls._cached_directory = os.path.join('/usr', 'share', 'blink')
|
|
return DirectoryContextManager(cls._cached_directory)
|
|
|
|
@classmethod
|