refactor: move temp directory to git data directory

This commit is contained in:
Jose Diaz-Gonzalez
2021-01-07 05:05:27 -05:00
parent df4dbe5d88
commit f87525d8cf
2 changed files with 4 additions and 1 deletions

View File

@@ -9,6 +9,9 @@ trigger-git-install() {
declare desc="installs the git plugin"
declare trigger="install"
mkdir -p "${DOKKU_LIB_ROOT}/data/git"
chown -R "${DOKKU_SYSTEM_USER}:${DOKKU_SYSTEM_GROUP}" "${DOKKU_LIB_ROOT}/data/git"
fn-plugin-property-setup "git"
migrate_git_vars_0_12_0 "$@"
}