summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-bindings_path.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:04:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:04:07 +0000
commita45ec9c2d262ff7cd62540f63298aeb186648aae (patch)
treea4bd93ea6b568b1da1930425a6bb2fb877dbdbe7 /debian/patches/0001-bindings_path.patch
parentAdding upstream version 2.7. (diff)
downloadpowerline-debian.tar.xz
powerline-debian.zip
Adding debian version 2.7-2.debian/2.7-2debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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
+