only set alias less=more when less is not installed
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 4 Jul 2005 20:19:06 +0000 (20:19 +0000)
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Mon, 4 Jul 2005 20:19:06 +0000 (20:19 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1341 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/default/target_skeleton/etc/profile

index b63dc8e..1d98ae3 100644 (file)
@@ -4,7 +4,7 @@
 export PATH=/bin:/sbin:/usr/bin:/usr/sbin
 export PS1='\u@\h:\w\$ '
 
-alias less=more
+[ -x /usr/bin/less ] || alias less=more
 alias vim=vi
 
 arp() { cat /proc/net/arp; }
This page took 0.02567 seconds and 4 git commands to generate.