From 21edaf8dc9e67ec94da5712a54040f3414f1c9a3 Mon Sep 17 00:00:00 2001 From: Albert Hopkins Date: Mon, 2 Aug 2010 08:14:14 -0400 Subject: [PATCH] teamplayer: added a .bash_profile --- teamplayer/bash_profile | 1 + teamplayer/postinstall | 1 + 2 files changed, 2 insertions(+) create mode 100644 teamplayer/bash_profile 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