From 6fbe8cabdeff94670926fc9b28c8e6ae8e7bf7ab Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Wed, 23 Dec 2015 03:59:10 -0500 Subject: [PATCH] Respect DOKKU_ROOT in debian/postint [ci skip] --- debian/postinst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/postinst b/debian/postinst index a02143d49..54e38a84b 100755 --- a/debian/postinst +++ b/debian/postinst @@ -46,8 +46,8 @@ case "$1" in dokku plugin:install --core - rm -f /home/dokku/VERSION - cp /var/lib/dokku/STABLE_VERSION /home/dokku/VERSION + rm -f ${DOKKU_ROOT}/VERSION + cp /var/lib/dokku/STABLE_VERSION ${DOKKU_ROOT}/VERSION if [ -f /etc/init/dokku-installer.conf ] && service dokku-installer status 2> /dev/null | grep waiting; then sudo service dokku-installer start