change default installation directory from /etc to /opt since it's more appropriate location
This commit is contained in:
@@ -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
|
||||
|
@@ -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"}
|
||||
|
Reference in New Issue
Block a user