aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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