forked from hasufell/hasufell-repository
blink: version bump to 4.0.0
This commit is contained in:
19
packages/voip/blink/files/blink-data-path.patch
Normal file
19
packages/voip/blink/files/blink-data-path.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
Reference in New Issue
Block a user