From bc494ce6b99fd6ac47ea99ad1e1bf648a38cc871 Mon Sep 17 00:00:00 2001 From: addhewarman Date: Mon, 7 Jul 2014 10:26:51 +0700 Subject: [PATCH] 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 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index cb3d99d..6b98a95 100755 --- a/install.sh +++ b/install.sh @@ -118,7 +118,7 @@ if [ -z "$PROFILE" ] || [ ! -f "$PROFILE" ] ; then else if ! grep -qc 'nvm.sh' "$PROFILE"; then echo "=> Appending source string to $PROFILE" - printf "%s" "$SOURCE_STR" >> "$PROFILE" + echo -e "$SOURCE_STR" >> "$PROFILE" else echo "=> Source string already in $PROFILE" fi