summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-bindings_path.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:40:17 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 16:40:17 +0000
commit38a4353f63924f0734ee6d85efdf848a6d93bc7e (patch)
treea62557ea80510890872e67e39fd4de63167b9db7 /debian/patches/0001-bindings_path.patch
parentAdding upstream version 2.8.3. (diff)
downloadpowerline-38a4353f63924f0734ee6d85efdf848a6d93bc7e.tar.xz
powerline-38a4353f63924f0734ee6d85efdf848a6d93bc7e.zip
Adding debian version 2.8.3-4.debian/2.8.3-4debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/patches/0001-bindings_path.patch')
-rw-r--r--debian/patches/0001-bindings_path.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/0001-bindings_path.patch b/debian/patches/0001-bindings_path.patch
new file mode 100644
index 0000000..4955245
--- /dev/null
+++ b/debian/patches/0001-bindings_path.patch
@@ -0,0 +1,17 @@
+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
+