From c130b480b6e0d327a15f9da9d89ede7f58da32d1 Mon Sep 17 00:00:00 2001 From: Jameson Rollins Date: Tue, 14 Sep 2010 12:26:58 -0400 Subject: fix specification of install directories in top level scripts. Various install paths were hard coded in the top level scripts. This was causing problems for non-standard install locations. Also added use of LOCALSTATEDIR variable to specify /var/lib path. --- src/monkeysphere-host | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/monkeysphere-host') diff --git a/src/monkeysphere-host b/src/monkeysphere-host index 6216dce..1eb5849 100755 --- a/src/monkeysphere-host +++ b/src/monkeysphere-host @@ -19,12 +19,12 @@ set -o pipefail PGRM=$(basename $0) -SYSSHAREDIR=${MONKEYSPHERE_SYSSHAREDIR:-"/usr/share/monkeysphere"} +SYSSHAREDIR=${MONKEYSPHERE_SYSSHAREDIR:-"__SYSSHAREDIR_PREFIX__/share/monkeysphere"} export SYSSHAREDIR . "${SYSSHAREDIR}/defaultenv" . "${SYSSHAREDIR}/common" -SYSDATADIR=${MONKEYSPHERE_SYSDATADIR:-"/var/lib/monkeysphere"} +SYSDATADIR=${MONKEYSPHERE_SYSDATADIR:-"__SYSDATADIR_PREFIX__/monkeysphere"} export SYSDATADIR # sharedir for host functions -- cgit v1.2.3