diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-11-14 11:00:42 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-11-14 11:00:42 -0200 |
commit | 4bf58939f5e9624a809396772aecd5f5e666bc52 (patch) | |
tree | 5f015c48333d6e98e3d89bc08f9aca1bedaa83a5 | |
parent | 8fe35a2abf1016af5dfbbe3b958e8351a93a0d55 (diff) | |
download | puppet-drupal-4bf58939f5e9624a809396772aecd5f5e666bc52.tar.gz puppet-drupal-4bf58939f5e9624a809396772aecd5f5e666bc52.tar.bz2 |
Fixes drupal_upgrade usage checkdevelop
-rwxr-xr-x | files/drupal | 4 |
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 |