fixed if statement in plugin installation
This commit is contained in:
@@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
# Title: XenOrchestraInstallerUpdater #
|
# Title: XenOrchestraInstallerUpdater #
|
||||||
# Author: Roni Väyrynen #
|
# Author: Roni Väyrynen #
|
||||||
# Repository: https://github.com/ronivay/XenOrchestraInstallerUpdater #
|
# Repository: https://github.com/ronivay/XenOrchestraInstallerUpdater #
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
### Start of editable variables ###
|
### Start of editable variables ###
|
||||||
@@ -142,7 +142,7 @@ function InstallDependenciesDebian {
|
|||||||
} 2>$LOGFILE
|
} 2>$LOGFILE
|
||||||
|
|
||||||
function InstallXOPlugins {
|
function InstallXOPlugins {
|
||||||
if [[ "$PLUGINS" ]] || [[ -z "$PLUGINS" ]]; then
|
if [[ "$PLUGINS" ]] && [[ ! -z "$PLUGINS" ]]; then
|
||||||
|
|
||||||
echo "Installing plugins defined in PLUGINS variable"
|
echo "Installing plugins defined in PLUGINS variable"
|
||||||
echo
|
echo
|
||||||
|
Reference in New Issue
Block a user