1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/pkgs/applications/video/kazam/datadir.patch
Domen Kožar 65a34b7f85 add kazam
2014-02-27 16:37:35 +01:00

12 lines
455 B
Diff

--- 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