diff --git a/teamplayer/bash_profile b/teamplayer/bash_profile new file mode 100644 index 0000000..90297af --- /dev/null +++ b/teamplayer/bash_profile @@ -0,0 +1 @@ +PATH="$HOME/bin:$PATH" diff --git a/teamplayer/postinstall b/teamplayer/postinstall index 8a460f4..7264650 100755 --- a/teamplayer/postinstall +++ b/teamplayer/postinstall @@ -21,6 +21,7 @@ chroot ${CHROOT} getent passwd ${TP_USER} || \ rm -rf ${TP_HOME} hg clone --pull ${HG_REPO} ${CHROOT}/${TP_HOME} cp ${APPLIANCE}/teamplayer.wsgi ${CHROOT}${TP_HOME}/teamplayer.wsgi +cp ${APPLIANCE}/bash_profile ${CHROOT}${TP_HOME}/.bash_profile ${M4C} ${APPLIANCE}/settings_local.py > ${CHROOT}${TP_HOME}/web/settings_local.py mkdir -p ${CHROOT}${TP_HOME}/bin ${M4C} ${APPLIANCE}/start-teamplayer > ${CHROOT}${TP_HOME}/bin/start-teamplayer