fixed if statement in plugin installation

This commit is contained in:
ronivay
2018-06-15 12:46:32 +03:00
parent 36ba32b2f8
commit edf42dd685

View File

@@ -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