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:
parent
e0537ce3df
commit
bc494ce6b9
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue