projects
/
openwrt
/
staging
/
981213.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcea027
)
base-files: fix alias more to properly detect /usr/bin/more
author
Huangbin Zhan
<zhanhb88@gmail.com>
Fri, 27 Nov 2020 11:02:47 +0000
(19:02 +0800)
committer
Paul Spooren
<mail@aparcar.org>
Sun, 29 Nov 2020 01:12:36 +0000
(15:12 -1000)
Package more is installed to /usr/bin rather than /bin.
Signed-off-by: Huangbin Zhan <zhanhb88@gmail.com>
package/base-files/files/etc/shinit
patch
|
blob
|
history
diff --git
a/package/base-files/files/etc/shinit
b/package/base-files/files/etc/shinit
index 6b715c1ef928063f08b3b42581fe87b13ccec082..dccba34b695d2aa80ae6318c3104ed66738ade47 100644
(file)
--- 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'