Changeset d01b731 in freewrt


Ignore:
Timestamp:
Jun 18, 2006, 10:11:35 PM (19 years ago)
Author:
Thorsten Glaser <tg@…>
Branches:
freewrt_1_0, freewrt_2_0
Children:
fc58502
Parents:
126f068
Message:

bump package version, remove 'bash-like feeling for $PS1'(*)
because if HOME=/ it looks stupid

tested with this package being built _on_ mirbsd! yay! :)

(*) http://cvsweb.allbsd.org/cvsweb.cgi/src/etc/profile.diff?r1=1.18&r2=1.19&cvsroot=mirbsd

git-svn-id: svn://www.freewrt.org/trunk/freewrt@120 afb5a338-a214-0410-bd46-81f09a774fd1

Location:
package/mksh
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • package/mksh/Makefile

    r126f068 rd01b731  
    55PKG_NAME=               mksh
    66PKG_VERSION=            27.2
    7 PKG_RELEASE=            1
     7PKG_RELEASE=            2
    88#PKG_SOURCE=            ${PKG_NAME}-R27c.cpio.gz
    99PKG_SOURCE=             mksh_${PKG_VERSION}.orig.tar.gz
  • package/mksh/ipkg/mksh.postinst

    r126f068 rd01b731  
    88if ! grep KSH_VERSION ${IPKG_INSTROOT}/etc/profile >/dev/null 2>&1; then
    99        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
    1311        echo '          let cmax="${COLUMNS:-80} / 3"' >>${IPKG_INSTROOT}/etc/profile
    1412        echo '          (( cmax < 7 )) && let cmax=7' >>${IPKG_INSTROOT}/etc/profile
Note: See TracChangeset for help on using the changeset viewer.