fix #45
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user