From: Silvio Rhatto Date: Mon, 29 Jan 2018 12:49:03 +0000 (-0200) Subject: Oops X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=8a4060bccd7e103618f6d724bf327f6fc2ab630d;p=puppet-drupal.git Oops --- diff --git a/files/drupal b/files/drupal index 573158b..94cffe9 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" ] || [ "$#" != "2" ]; then + if [ "$#" != "1" ] && [ "$#" != "2" ]; then echo "Usage: `basename $0` upgrade [new_version]" exit 1 fi