This commit is contained in:
ronivay
2020-06-03 19:35:33 +03:00
parent 123494c484
commit 77860cc16f

View File

@@ -26,6 +26,7 @@ AUTOUPDATE=${AUTOUPDATE:-"true"}
PRESERVE=${PRESERVE:-"3"} PRESERVE=${PRESERVE:-"3"}
XOUSER=${XOUSER:-"root"} XOUSER=${XOUSER:-"root"}
CONFIGPATH="$(getent passwd $XOUSER | cut -d: -f6)" CONFIGPATH="$(getent passwd $XOUSER | cut -d: -f6)"
PLUGINS="${PLUGINS:-"none"}"
# set variables not changeable in configfile # set variables not changeable in configfile
TIME=$(date +%Y%d%m%H%M) TIME=$(date +%Y%d%m%H%M)
@@ -344,7 +345,7 @@ function InstallXOPlugins {
trap ErrorHandling ERR INT trap ErrorHandling ERR INT
if [[ "$PLUGINS" ]] && [[ -n "$PLUGINS" ]]; then if [[ -n "$PLUGINS" ]] && [[ "$PLUGINS" != "none" ]]; then
if [[ "$PLUGINS" == "all" ]]; then if [[ "$PLUGINS" == "all" ]]; then
echo echo