1
0
Fork 0
powerline/debian/patches/0001-bindings_path.patch
Daniel Baumann 4e7b24e893
Adding debian version 2.8.4-1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 14:32:14 +02:00

17 lines
645 B
Diff

Author: Jerome Charaoui <jerome@riseup.net>
Description: Adjusts bindings path for Debian
Bug-Debian: https://bugs.debian.org/766637
Forwarded: not-needed
diff -Naurp powerline.orig/powerline/config.py 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