Set dokku version during post installation

This commit is contained in:
Jose Diaz-Gonzalez
2015-03-19 20:04:48 -04:00
parent 23b35a03b4
commit 077b7cee6e

2
debian/postinst vendored
View File

@@ -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