Formats echo strings in config script
This commit is contained in:
parent
35594873ed
commit
73ecea2030
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ function symlink_configs () {
|
||||||
echo "$filename: "
|
echo "$filename: "
|
||||||
|
|
||||||
if [ -f "${HOME}/${filename}" ] && [ ! -L "${HOME}/${filename}" ]; then
|
if [ -f "${HOME}/${filename}" ] && [ ! -L "${HOME}/${filename}" ]; then
|
||||||
echo -n "Backing up ${filename} ... " && \
|
echo -n "Backing up ${filename}... " && \
|
||||||
mv "${HOME}/${filename}" "${HOME}/${filename}.bak" && \
|
mv "${HOME}/${filename}" "${HOME}/${filename}.bak" && \
|
||||||
echo "Done."
|
echo "Done."
|
||||||
fi
|
fi
|
||||||
|
@ -31,7 +31,7 @@ function symlink_configs () {
|
||||||
echo "Already symlinked but NOT to the proper location. Aborting..."
|
echo "Already symlinked but NOT to the proper location. Aborting..."
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo -n "Symlinking to ${filename} ... " && \
|
echo -n "Symlinking to ${filename}... " && \
|
||||||
ln -s $cf "${HOME}/${filename}" && \
|
ln -s $cf "${HOME}/${filename}" && \
|
||||||
echo "Done."
|
echo "Done."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue