aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/etc
diff options
context:
space:
mode:
authorHuangbin Zhan <zhanhb88@gmail.com>2020-11-27 19:02:47 +0800
committerPaul Spooren <mail@aparcar.org>2020-11-28 15:12:36 -1000
commit451c1eb8c2a87bbf486f2883518bbb8c1c06848f (patch)
tree63f3408eeaec506239cc5d8f3874f7f2f888f126 /package/base-files/files/etc
parentfcea027df6951a9a4b352019a324b6decb3beb51 (diff)
downloadupstream-451c1eb8c2a87bbf486f2883518bbb8c1c06848f.tar.gz
upstream-451c1eb8c2a87bbf486f2883518bbb8c1c06848f.tar.bz2
upstream-451c1eb8c2a87bbf486f2883518bbb8c1c06848f.zip
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 <zhanhb88@gmail.com>
Diffstat (limited to 'package/base-files/files/etc')
-rw-r--r--package/base-files/files/etc/shinit2
1 files changed, 1 insertions, 1 deletions
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'