diff --git a/debian/postinst b/debian/postinst index 10b8068ad6f..0b1bd719f9b 100755 --- a/debian/postinst +++ b/debian/postinst @@ -43,6 +43,7 @@ case "$1" in PLUGIN_PATH=${DOKKU_LIB_ROOT}/plugins plugn enable $plugin fi done + find -L ${DOKKU_LIB_ROOT} -type l -delete chown dokku:dokku -R ${DOKKU_LIB_ROOT}/plugins ${DOKKU_LIB_ROOT}/core-plugins echo "Install all core plugins"