aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-01-29 10:49:03 -0200
committerSilvio Rhatto <rhatto@riseup.net>2018-01-29 10:49:03 -0200
commit8a4060bccd7e103618f6d724bf327f6fc2ab630d (patch)
tree45e9668ae0793dca303f46b574a891bcab66d369
parentb00a50350ee688d144c75a1f3262b397359d27b6 (diff)
downloadpuppet-drupal-8a4060bccd7e103618f6d724bf327f6fc2ab630d.tar.gz
puppet-drupal-8a4060bccd7e103618f6d724bf327f6fc2ab630d.tar.bz2
Oops
-rwxr-xr-xfiles/drupal2
1 files changed, 1 insertions, 1 deletions
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 <series|old_version> [new_version]"
exit 1
fi