From 094bcd45ada77b51de501cf87a278a48faabba2b Mon Sep 17 00:00:00 2001 From: Marcus Whybrow Date: Mon, 21 May 2012 14:28:37 +0100 Subject: [PATCH] Creating a jar group now automatically downloads the jar right away. --- msm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/msm b/msm index 8331a1b..6ba2834 100755 --- a/msm +++ b/msm @@ -119,6 +119,10 @@ manager_jars_remote_create() { fi echo "Done." + + # Download the latest version now + manager_jars_remote_getlatest $1 + fi else echo "Invalid name: may only contain letters, numbers, a dash or an underscore." @@ -165,10 +169,10 @@ manager_jars_remote_getlatest() { if [[ $was_previous == 0 ]]; then echo "Downloaded version was different to previous latest. Saved as \"$1/$new_name\"." else - echo "Saved as \"$1/$new_name\"." + echo "Saved as \"$JAR_STORAGE_PATH/$1/$new_name\"." fi else - echo "Existing version \"$1/$new_name\" was already up to date." + echo "Existing version \"$JAR_STORAGE_PATH/$1/$new_name\" was already up to date." fi elif [[ $num_files == 0 ]]; then