Update install.sh

i have some issue on debian that this not print line as it is, so i changed it into echo -e, with this the \n will print properly
This commit is contained in:
addhewarman 2014-07-07 10:26:51 +07:00
parent e0537ce3df
commit bc494ce6b9

View File

@ -118,7 +118,7 @@ if [ -z "$PROFILE" ] || [ ! -f "$PROFILE" ] ; then
else else
if ! grep -qc 'nvm.sh' "$PROFILE"; then if ! grep -qc 'nvm.sh' "$PROFILE"; then
echo "=> Appending source string to $PROFILE" echo "=> Appending source string to $PROFILE"
printf "%s" "$SOURCE_STR" >> "$PROFILE" echo -e "$SOURCE_STR" >> "$PROFILE"
else else
echo "=> Source string already in $PROFILE" echo "=> Source string already in $PROFILE"
fi fi