From 077b7cee6e017d1d4e2893638745f6a724cd0fc2 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Thu, 19 Mar 2015 20:04:48 -0400 Subject: [PATCH] Set dokku version during post installation --- debian/postinst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/postinst b/debian/postinst index 25965e1dd..231c1a20d 100755 --- a/debian/postinst +++ b/debian/postinst @@ -13,6 +13,8 @@ case "$1" in egrep -i "^docker" /etc/group || groupadd docker usermod -aG docker dokku dokku plugins-install + rm -f /home/dokku/VERSION + cp /var/lib/dokku/STABLE_VERSION /home/dokku/VERSION if [ -f /etc/init/dokku-installer.conf ] && service dokku-installer status 2> /dev/null | grep waiting; then sudo service dokku-installer start