diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-01-29 10:46:30 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-01-29 10:46:30 -0200 |
commit | b00a50350ee688d144c75a1f3262b397359d27b6 (patch) | |
tree | f9d701457b8167c7df49d69fd7bd65ed4de1cbf6 | |
parent | f36cb3d7feb171813d003a9dcd1d322704d0a109 (diff) | |
download | puppet-drupal-b00a50350ee688d144c75a1f3262b397359d27b6.tar.gz puppet-drupal-b00a50350ee688d144c75a1f3262b397359d27b6.tar.bz2 |
Fix drupal_upgrade syntax check
-rwxr-xr-x | files/drupal | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/drupal b/files/drupal index d51fd10..573158b 100755 --- a/files/drupal +++ b/files/drupal @@ -226,7 +226,7 @@ function drupal_download { # Upgrade a drupal instance using upstream source function drupal_upgrade { - if [ "$#" != "1" ]; then + if [ "$#" != "1" ] || [ "$#" != "2" ]; then echo "Usage: `basename $0` upgrade <series|old_version> [new_version]" exit 1 fi |