From edf42dd685ca75ed9fe6bdd48c6b69cde71aa223 Mon Sep 17 00:00:00 2001 From: ronivay Date: Fri, 15 Jun 2018 12:46:32 +0300 Subject: [PATCH] fixed if statement in plugin installation --- xo-install.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xo-install.sh b/xo-install.sh index 919b92a..1aea564 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -1,9 +1,9 @@ #!/bin/bash ######################################################################### -# Title: XenOrchestraInstallerUpdater # -# Author: Roni Väyrynen # -# Repository: https://github.com/ronivay/XenOrchestraInstallerUpdater # +# Title: XenOrchestraInstallerUpdater # +# Author: Roni Väyrynen # +# Repository: https://github.com/ronivay/XenOrchestraInstallerUpdater # ######################################################################### ### Start of editable variables ### @@ -142,7 +142,7 @@ function InstallDependenciesDebian { } 2>$LOGFILE function InstallXOPlugins { - if [[ "$PLUGINS" ]] || [[ -z "$PLUGINS" ]]; then + if [[ "$PLUGINS" ]] && [[ ! -z "$PLUGINS" ]]; then echo "Installing plugins defined in PLUGINS variable" echo