Set dokku version during post installation
This commit is contained in:
2
debian/postinst
vendored
2
debian/postinst
vendored
@@ -13,6 +13,8 @@ case "$1" in
|
|||||||
egrep -i "^docker" /etc/group || groupadd docker
|
egrep -i "^docker" /etc/group || groupadd docker
|
||||||
usermod -aG docker dokku
|
usermod -aG docker dokku
|
||||||
dokku plugins-install
|
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
|
if [ -f /etc/init/dokku-installer.conf ] && service dokku-installer status 2> /dev/null | grep waiting; then
|
||||||
sudo service dokku-installer start
|
sudo service dokku-installer start
|
||||||
|
|||||||
Reference in New Issue
Block a user