Only chown of existing files
* this caused issues during installation if the file is not existent
This commit is contained in:
@@ -60,4 +60,8 @@ fi
|
|||||||
EOF
|
EOF
|
||||||
chmod +x /etc/update-motd.d/99-dokku
|
chmod +x /etc/update-motd.d/99-dokku
|
||||||
|
|
||||||
chown dokku:dokku "$DOKKU_ROOT/HOSTNAME" "$DOKKU_ROOT/VHOST"
|
chown dokku:dokku "$DOKKU_ROOT/HOSTNAME"
|
||||||
|
|
||||||
|
if [[ -f "$DOKKU_ROOT/VHOST" ]]; then
|
||||||
|
chown dokku:dokku "$DOKKU_ROOT/VHOST"
|
||||||
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user