summaryrefslogtreecommitdiffstats
path: root/debian/patches/debian/sensible-pager.patch
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/debian/sensible-pager.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/debian/sensible-pager.patch b/debian/patches/debian/sensible-pager.patch
new file mode 100644
index 0000000..7c0ae6f
--- /dev/null
+++ b/debian/patches/debian/sensible-pager.patch
@@ -0,0 +1,22 @@
+From: Chris Hofstaedtler <zeha@debian.org>
+Date: Thu, 14 Jul 2022 09:54:01 +0000
+Subject: Use sensible-pager
+
+Closes: #1014368
+---
+ lib/pager.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/pager.c b/lib/pager.c
+index 9429032..f6dfd44 100644
+--- a/lib/pager.c
++++ b/lib/pager.c
+@@ -219,7 +219,7 @@ static void __setup_pager(void)
+ return;
+
+ if (!pager)
+- pager = "less";
++ pager = "sensible-pager";
+ else if (!*pager || !strcmp(pager, "cat"))
+ return;
+