diff --git a/sample.xo-install.cfg b/sample.xo-install.cfg index 0cc4fbd..3ff0f3a 100644 --- a/sample.xo-install.cfg +++ b/sample.xo-install.cfg @@ -5,7 +5,7 @@ PORT="80" # Base dir for installation and future updates -INSTALLDIR="/etc/xo" +INSTALLDIR="/opt/xo" # Configuration is stored in XOUSER's home directory and by default will be overwritten with every update done by this script. Set CONFIGUPDATE to false if you don't want this to happen CONFIGUPDATE=true diff --git a/xo-install.sh b/xo-install.sh index bec8051..f004f9d 100755 --- a/xo-install.sh +++ b/xo-install.sh @@ -19,7 +19,7 @@ source $CONFIG_FILE # Set some default variables if sourcing config file fails for some reason PORT=${PORT:-80} -INSTALLDIR=${INSTALLDIR:-"/etc/xo"} +INSTALLDIR=${INSTALLDIR:-"/opt/xo"} BRANCH=${BRANCH:-"master"} LOGFILE=${LOGFILE:-"$(dirname $0)/xo-install.log"} AUTOUPDATE=${AUTOUPDATE:-"true"}