Changeset d01b731 in freewrt
- Timestamp:
- Jun 18, 2006, 10:11:35 PM (19 years ago)
- Branches:
- freewrt_1_0, freewrt_2_0
- Children:
- fc58502
- Parents:
- 126f068
- Location:
- package/mksh
- Files:
-
- 2 edited
-
Makefile (modified) (1 diff)
-
ipkg/mksh.postinst (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
package/mksh/Makefile
r126f068 rd01b731 5 5 PKG_NAME= mksh 6 6 PKG_VERSION= 27.2 7 PKG_RELEASE= 17 PKG_RELEASE= 2 8 8 #PKG_SOURCE= ${PKG_NAME}-R27c.cpio.gz 9 9 PKG_SOURCE= mksh_${PKG_VERSION}.orig.tar.gz -
package/mksh/ipkg/mksh.postinst
r126f068 rd01b731 8 8 if ! grep KSH_VERSION ${IPKG_INSTROOT}/etc/profile >/dev/null 2>&1; then 9 9 echo 'if test -n "$KSH_VERSION"; then' >>${IPKG_INSTROOT}/etc/profile 10 echo ' export PS1='\''$(((rv=$?)) && print "$rv|")'\''"\${USER}@$HOSTNAME:"'\''$(typeset tilde=~ path=${1:-${PWD:-$(pwd)}}' >>${IPKG_INSTROOT}/etc/profile 11 echo ' typeset dots= path2=${path#$tilde}' >>${IPKG_INSTROOT}/etc/profile 12 echo ' [[ $path2 = $path ]] || path='\''~'\''$path2' >>${IPKG_INSTROOT}/etc/profile 10 echo ' export PS1='\''$(((rv=$?)) && print "$rv|")'\''"\${USER}@$HOSTNAME:"'\''$(typeset dots= path=${1:-${PWD:-$(pwd)}}' >>${IPKG_INSTROOT}/etc/profile 13 11 echo ' let cmax="${COLUMNS:-80} / 3"' >>${IPKG_INSTROOT}/etc/profile 14 12 echo ' (( cmax < 7 )) && let cmax=7' >>${IPKG_INSTROOT}/etc/profile
Note:
See TracChangeset
for help on using the changeset viewer.
