Merge pull request #6394 from dokku/scoped-postinst-delete

Scope the delete of symlinked plugins in debian post-install to the plugin folders
This commit is contained in:
Jose Diaz-Gonzalez
2024-01-07 00:36:37 -05:00
committed by GitHub

3
debian/postinst vendored
View File

@@ -84,7 +84,8 @@ setup-plugins() {
PLUGIN_PATH="${DOKKU_LIB_ROOT}/plugins" plugn enable "$plugin"
fi
done
find -L "${DOKKU_LIB_ROOT}" -type l -delete
find -L "${DOKKU_LIB_ROOT}/core-plugins" -type l -delete
find -L "${DOKKU_LIB_ROOT}/plugins" -type l -delete
chown dokku:dokku -R "${DOKKU_LIB_ROOT}/plugins" "${DOKKU_LIB_ROOT}/core-plugins"
echo "Install all core plugins"