aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2014-03-12 23:24:50 +0100
committerGravatar Tom Willemse2014-03-12 23:24:50 +0100
commit889b64c9af807b2cec1adf7d4f5611d2fc48502d (patch)
treecd1c9be53c973f7a160b980fd549c688b2ee7131
parent24b69b5af0d6c8f8a816a076ed1e7168f3976840 (diff)
downloadsti-889b64c9af807b2cec1adf7d4f5611d2fc48502d.tar.gz
sti-889b64c9af807b2cec1adf7d4f5611d2fc48502d.zip
Add newlines at end of version messages
-rwxr-xr-xsti6
1 files changed, 3 insertions, 3 deletions
diff --git a/sti b/sti
index 82d1a0a..f906d8f 100755
--- a/sti
+++ b/sti
@@ -151,7 +151,7 @@ function cmd_install ()
if [[ ! -d "$tool_home" ]]; then
git clone $1 "$tool_home"
init "$tool_home" \
- && printf "Tool %s v%s succesfully installed" \
+ && printf "Tool %s v%s succesfully installed\n" \
"$tool_name" $(tool-version "$tool_name")
else
echo "Tool ${tool_name} already installed"
@@ -181,7 +181,7 @@ function cmd_remove ()
if [[ -d "$tool_home" ]]; then
uninit "$tool_home"
rm -rf "$tool_home" \
- && printf "Succesfully removed %s v%s" \
+ && printf "Succesfully removed %s v%s\n" \
"$1" $(tool-version "$1")
else
echo "Tool $1 is not installed"
@@ -212,7 +212,7 @@ function cmd_update
uninit "$tool_home"
cd $tool_home && git pull
init "$tool_home" \
- && printf "Updated %s v%s -> v%s" \
+ && printf "Updated %s v%s -> v%s\n" \
"$1" "$old_version" $(tool-version "$1")
else
echo "Tool $1 is not installed"