From 5f0bc4c22cb351e6b51906a5febfd664130a2197 Mon Sep 17 00:00:00 2001 From: Jameson Rollins Date: Tue, 14 Sep 2010 13:35:28 -0400 Subject: fix *all* install paths, including in man pages and transition scripts --- src/transitions/0.23 | 5 +++-- src/transitions/0.28 | 5 ++++- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'src/transitions') diff --git a/src/transitions/0.23 b/src/transitions/0.23 index 3964558..82529f2 100755 --- a/src/transitions/0.23 +++ b/src/transitions/0.23 @@ -20,8 +20,9 @@ # any unexpected errors should cause this script to bail: set -e -SYSDATADIR=${MONKEYSPHERE_SYSDATADIR:-"/var/lib/monkeysphere"} -SYSCONFIGDIR=${MONKEYSPHERE_SYSCONFIGDIR:-"/etc/monkeysphere"} +SYSSHAREDIR=${MONKEYSPHERE_SYSSHAREDIR:-"__SYSSHAREDIR_PREFIX__/share/monkeysphere"} +export SYSSHAREDIR +. "${SYSSHAREDIR}/defaultenv" MADATADIR="${SYSDATADIR}/authentication" MHDATADIR="${SYSDATADIR}/host" diff --git a/src/transitions/0.28 b/src/transitions/0.28 index 5da6ab1..d21ec4e 100755 --- a/src/transitions/0.28 +++ b/src/transitions/0.28 @@ -16,7 +16,10 @@ # any unexpected errors should cause this script to bail: set -e -SYSDATADIR=${MONKEYSPHERE_SYSDATADIR:-"/var/lib/monkeysphere"} +SYSSHAREDIR=${MONKEYSPHERE_SYSSHAREDIR:-"__SYSSHAREDIR_PREFIX__/share/monkeysphere"} +export SYSSHAREDIR +. "${SYSSHAREDIR}/defaultenv" + OLD_HOST_KEY_FILE="$SYSDATADIR"/ssh_host_rsa_key.pub.gpg if [ -f "$OLD_HOST_KEY_FILE" ] ; then -- cgit v1.2.3