is_root_owned

This commit is contained in:
2025-08-08 12:22:47 -05:00
parent da533a8a09
commit 0584974538
2 changed files with 26 additions and 0 deletions

View File

@@ -87,6 +87,17 @@ docker_build_image() {
# specific file for evaluated package manager info
distroPkgMgr="${DOCKER_DIR}/${distro}-pkg_mgr"
# get package manager info
# TODO REMOVE
if is_root_owned "${IGN_DIR}"; then
docker run \
--rm \
-v "${REPO_DIR}:${DOCKER_WORKDIR}" \
-w "${DOCKER_WORKDIR}" \
"${dockerDistro}" \
rm -rf "${DOCKER_WORKDIR}"/gitignore
fi
docker run \
"${DOCKER_RUN_FLAGS[@]}" \
"${dockerDistro}" \