Commit fd1f237e authored by anarcat's avatar anarcat

get the aegir home directory dynamically

this is to allow more flexibility during upgrades (and even installs,
actually). for example it allows the admin to change the location of
the aegir home to be (say) /srv/aegir instead of /var/aegir

see https://drupal.org/node/2118857
parent 837eb4c3
......@@ -24,7 +24,7 @@ if [ "$DPKG_DEBUG" = "developer" ]; then
set -x
fi
AEGIRHOME="/var/aegir"
AEGIRHOME="$(su aegir -s /bin/sh -c 'echo $HOME')"
case "$1" in
configure)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment