Only chown of existing files
* this caused issues during installation if the file is not existent
This commit is contained in:
1 parent
7704175f0d
commit
01430cd618
1 file changed
+5
-1
@@ -60,4 +60,8 @@ fi
|
||||
EOF
|
||||
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