xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/dpkg/dpkg/pager.patch (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1pager: Use less instead of pager
2
3pager is a Debianism. Istead use directly pager.
4
5Upstream-Status: Inappropriate [OE-Core integration specific]
6
7Suggested-by: Burton, Ross <ross.burton@intel.com>
8Signed-off-by: Ricardo Ribalda <ricardo@ribalda.com>
9diff --git a/lib/dpkg/dpkg.h b/lib/dpkg/dpkg.h
10index 2bb067a..6cbce80 100644
11--- a/lib/dpkg/dpkg.h
12+++ b/lib/dpkg/dpkg.h
13@@ -95,7 +95,7 @@ DPKG_BEGIN_DECLS
14 #define MAXUPDATES         250
15
16 #define DEFAULTSHELL        "sh"
17-#define DEFAULTPAGER        "pager"
18+#define DEFAULTPAGER        "less"
19
20 #define MD5HASHLEN           32
21 #define MAXTRIGDIRECTIVE     256
22