Package: powerline / 1.2-2

bindings_path.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Adjusts bindings path for Debian
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766637
Author: Jerome Charaoui <jerome@riseup.net>
Forwarded: not-needed
Index: powerline/powerline/config.py
===================================================================
--- powerline.orig/powerline/config.py
+++ powerline/powerline/config.py
@@ -5,6 +5,6 @@ import os
 
 
 POWERLINE_ROOT = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
-BINDINGS_DIRECTORY = os.path.join(POWERLINE_ROOT, 'powerline', 'bindings')
+BINDINGS_DIRECTORY = '/usr/share/powerline/bindings'
 TMUX_CONFIG_DIRECTORY = os.path.join(BINDINGS_DIRECTORY, 'tmux')
 DEFAULT_SYSTEM_CONFIG_DIR = None