]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Oops
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 29 Jan 2018 12:49:03 +0000 (10:49 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 29 Jan 2018 12:49:03 +0000 (10:49 -0200)
files/drupal

index 573158b0cdc9ad790f614f3184d277bd9ce0b235..94cffe982f44814c5b07d116fed4ec2e981a4fa9 100755 (executable)
@@ -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 <series|old_version> [new_version]"
     exit 1
   fi