diff --git a/comp-backup.sh b/comp-backup.sh index 588bf337ad57b34ee701ddd4b342e511fad102e1..b243396d1cdf80fb32938f1e3054c20bf3807ab4 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