mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-12-13 16:44:17 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user