Revert "lib/pager: Apply pager-specific fixes only when needed"
authorThomas Weißschuh <thomas@t-8ch.de>
Sat, 13 Apr 2024 07:42:39 +0000 (09:42 +0200)
committerChris Hofstaedtler <zeha@debian.org>
Sat, 27 Apr 2024 12:23:31 +0000 (14:23 +0200)
commitbcd7022df2f1cdc661c1422bf6b9443b9443ff3e
tree25b8b7bcde170946fa3aa0ac39ed5c57762066ab
parent926247e45921025113367e9ec79b664abded6d57
Revert "lib/pager: Apply pager-specific fixes only when needed"

Less is not always detectable, as it can be hidden behind symlinks or
wrapper as for example in a default Debian installation.
Also testing for the literal string "less" does not match full path
specifications like "/usr/bin/less".

Instead always apply the fixes.

This reverts commit c10ad975895372122f72c8d9da089b6ea69f778b.
Closes #2951
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
Debian-Bug: 1068831

Gbp-Pq: Topic upstream
Gbp-Pq: Name Revert-lib-pager-Apply-pager-specific-fixes-only-when-nee.patch
lib/pager.c