summary refs log tree commit diff
path: root/pkgs/applications/video/kazam/datadir.patch
blob: 114d4228be2dfb66647365f4bc8152a6465696bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- a/bin/kazam       2014-02-03 23:11:38.465614061 +0100
+++ b/bin/kazam-1     2014-02-03 23:12:28.447058700 +0100
@@ -68,7 +68,7 @@
         # when base install path is not /usr
         curpath = os.path.abspath(__file__)
         curpath = os.path.realpath(curpath)
-        datadir = curpath.split('bin/')[0] + "share/kazam/"
+        datadir = os.path.realpath(os.path.join(curpath, "./../../", "share/kazam/"))
 
     try:
         import platform