From 3b703a965ea3f03f84f9d677b9897ce646ea7943 Mon Sep 17 00:00:00 2001 From: Ejner Fergo <efer@dtu.dk> Date: Fri, 30 Nov 2018 16:17:51 +0100 Subject: [PATCH] write PATH to .bash_profile instead of .profile --- comp-backup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comp-backup.sh b/comp-backup.sh index 588bf33..b243396 100755 --- a/comp-backup.sh +++ b/comp-backup.sh @@ -135,8 +135,8 @@ elif [ ! -d $BIN_DIR ]; then fi $(echo $PATH | grep -o $BIN_DIR &>/dev/null) if [ $? -ne 0 ]; then - echo -e "\nexport PATH=$PATH:$BIN_DIR" >> $H/.profile - source $H/.profile + echo -e "\nexport PATH=$PATH:$BIN_DIR" >> $H/.bash_profile + source $H/.bash_profile fi if [ ! -d $CONF_DIR ]; then mkdir -p $CONF_DIR -- GitLab