diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-05-25 19:51:59 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-05-25 19:51:59 -0300 |
commit | 5042a5a35ccfaef712724d86b5b767d0aecef6ed (patch) | |
tree | 1d683d514b86710aa7bd071ddc57f727c2268a0b /templates | |
parent | bcf22b73405b7062d61f8024247311f03a8713bd (diff) | |
download | puppet-drupal-5042a5a35ccfaef712724d86b5b767d0aecef6ed.tar.gz puppet-drupal-5042a5a35ccfaef712724d86b5b767d0aecef6ed.tar.bz2 |
Fixing drupal_deploy
Diffstat (limited to 'templates')
-rw-r--r-- | templates/drupal.sh.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/drupal.sh.erb b/templates/drupal.sh.erb index 1a069f3..77c4b53 100644 --- a/templates/drupal.sh.erb +++ b/templates/drupal.sh.erb @@ -54,8 +54,8 @@ function drupal_iterate { # Deploy a fresh drupal tree function drupal_deploy { - if [ "$#" != "1" ]; then - echo "Usage: `basename $0` deploy <version>" + if [ -z "$1" ]; then + echo "Usage: `basename $0` deploy <version> [--upgrade]" exit 1 fi |