summaryrefslogtreecommitdiffstats
path: root/debian/patches/0001-bindings_path.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:38:07 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 12:38:07 +0000
commit6dc7255b85d1c1bb1b66b94c55a91f21905eef08 (patch)
tree09a26e75b022344fa64251c7973cccfffe8f174d /debian/patches/0001-bindings_path.patch
parentAdding upstream version 2.8.1. (diff)
downloadpowerline-6dc7255b85d1c1bb1b66b94c55a91f21905eef08.tar.xz
powerline-6dc7255b85d1c1bb1b66b94c55a91f21905eef08.zip
Adding debian version 2.8.1-4.debian/2.8.1-4debian
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
+