Mercurial > trustbridge
diff packaging/linux-installer.inc.in @ 727:feaabee15e72
Preliminary implemented SYSDATAPATH.
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 03 Jul 2014 10:17:56 +0200 |
parents | ce3e33e66a17 |
children | 2d64ff7e22e8 |
line wrap: on
line diff
--- a/packaging/linux-installer.inc.in Wed Jul 02 19:32:16 2014 +0200 +++ b/packaging/linux-installer.inc.in Thu Jul 03 10:17:56 2014 +0200 @@ -7,6 +7,9 @@ CFGPATH="${XDG_CONFIG_HOME:-$HOME/.config}/BSI" DATAPATH="${XDG_DATA_HOME:-$HOME/.local/share}/BSI/TrustBridge" SYSCFGPATH="/etc/TrustBridge" +# FIXME: +# Set the real data path for system wide installation once its known. +SYSDATAPATH="$DATAPATH" INSTCFGNAME="TrustBridge-inst.cfg" FORCE=0 SYSINST=0 @@ -135,8 +138,7 @@ if [ $SYSINST -eq 1 ] ; then inst_default_prefix="$SYSDEFAULT_PREFIX" instcfg_path="${SYSCFGPATH}" - # TODO: where is the system wide installation data path? - instdata_path="${SYSCFGPATH}" + instdata_path="${SYSDATAPATH}" else inst_default_prefix="$DEFAULT_PREFIX" instcfg_path="${CFGPATH}"