summaryrefslogtreecommitdiff
path: root/src/transitions/0.28
diff options
context:
space:
mode:
authorJameson Rollins <jrollins@finestructure.net>2010-09-14 13:35:28 -0400
committerJameson Rollins <jrollins@finestructure.net>2010-09-14 13:35:28 -0400
commit5f0bc4c22cb351e6b51906a5febfd664130a2197 (patch)
tree5e0a0a0900f9bac4e0f5a5dce1d654840d4370f8 /src/transitions/0.28
parent2cbeae585d91f8d7571b33f7f47670267963a4e2 (diff)
fix *all* install paths, including in man pages and transition scripts
Diffstat (limited to 'src/transitions/0.28')
-rwxr-xr-xsrc/transitions/0.285
1 files changed, 4 insertions, 1 deletions
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