aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-14 11:00:42 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-14 11:00:42 -0200
commit4bf58939f5e9624a809396772aecd5f5e666bc52 (patch)
tree5f015c48333d6e98e3d89bc08f9aca1bedaa83a5
parent8fe35a2abf1016af5dfbbe3b958e8351a93a0d55 (diff)
downloadpuppet-drupal-4bf58939f5e9624a809396772aecd5f5e666bc52.tar.gz
puppet-drupal-4bf58939f5e9624a809396772aecd5f5e666bc52.tar.bz2
Fixes drupal_upgrade usage checkdevelop
-rwxr-xr-xfiles/drupal4
1 files changed, 2 insertions, 2 deletions
diff --git a/files/drupal b/files/drupal
index 00bdb9e..644b776 100755
--- a/files/drupal
+++ b/files/drupal
@@ -222,8 +222,8 @@ function drupal_download {
# Upgrade a drupal instance using upstream source
function drupal_upgrade {
- if [ "$#" != "2" ]; then
- echo "Usage: `basename $0` upgrade <old_version> <new_version>"
+ if [ "$#" != "1" ]; then
+ echo "Usage: `basename $0` upgrade <series|old_version> [new_version]"
exit 1
fi