Creating a jar group now automatically downloads the jar right away.

This commit is contained in:
Marcus Whybrow 2012-05-21 14:28:37 +01:00
parent 32014f6bca
commit 094bcd45ad

8
msm
View File

@ -119,6 +119,10 @@ manager_jars_remote_create() {
fi fi
echo "Done." echo "Done."
# Download the latest version now
manager_jars_remote_getlatest $1
fi fi
else else
echo "Invalid name: may only contain letters, numbers, a dash or an underscore." 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 if [[ $was_previous == 0 ]]; then
echo "Downloaded version was different to previous latest. Saved as \"$1/$new_name\"." echo "Downloaded version was different to previous latest. Saved as \"$1/$new_name\"."
else else
echo "Saved as \"$1/$new_name\"." echo "Saved as \"$JAR_STORAGE_PATH/$1/$new_name\"."
fi fi
else 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 fi
elif [[ $num_files == 0 ]]; then elif [[ $num_files == 0 ]]; then