From: Silvio Rhatto Date: Tue, 14 Nov 2017 13:00:42 +0000 (-0200) Subject: Fixes drupal_upgrade usage check X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=refs%2Fheads%2Fdevelop;p=puppet-drupal.git Fixes drupal_upgrade usage check --- 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 " + if [ "$#" != "1" ]; then + echo "Usage: `basename $0` upgrade [new_version]" exit 1 fi