From 451c1eb8c2a87bbf486f2883518bbb8c1c06848f Mon Sep 17 00:00:00 2001 From: Huangbin Zhan Date: Fri, 27 Nov 2020 19:02:47 +0800 Subject: [PATCH] base-files: fix alias more to properly detect /usr/bin/more Package more is installed to /usr/bin rather than /bin. Signed-off-by: Huangbin Zhan --- package/base-files/files/etc/shinit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/base-files/files/etc/shinit b/package/base-files/files/etc/shinit index 6b715c1ef9..dccba34b69 100644 --- a/package/base-files/files/etc/shinit +++ b/package/base-files/files/etc/shinit @@ -1,4 +1,4 @@ -[ -x /bin/more ] || alias more=less +[ -x /bin/more ] || [ -x /usr/bin/more ] || alias more=less [ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi alias ll='ls -alF --color=auto'