mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2025-12-27 22:20:31 +00:00
15 lines
569 B
Diff
15 lines
569 B
Diff
--- ./src/report.h~ 2020-05-18 07:30:10.000000000 +0200
|
|
+++ ./src/report.h 2022-10-05 19:35:44.216825319 +0200
|
|
@@ -813,9 +813,8 @@
|
|
CTOR(report_t, pager_) {
|
|
if (! std::getenv("PAGER") && isatty(STDOUT_FILENO)) {
|
|
bool have_less = false;
|
|
- if (exists(path("/opt/local/bin/less")) ||
|
|
- exists(path("/usr/local/bin/less")) ||
|
|
- exists(path("/usr/bin/less")))
|
|
+ if (exists(path("@TERMUX_PREFIX@/bin/less")) ||
|
|
+ exists(path("@TERMUX_PREFIX@/local/bin/less")))
|
|
have_less = true;
|
|
|
|
if (have_less) {
|