From b6921f9b9f594b6674b25189eee41783e6c6f22e Mon Sep 17 00:00:00 2001 From: eitsupi <50911393+eitsupi@users.noreply.github.com> Date: Tue, 27 Dec 2022 22:25:33 +0900 Subject: feat(common-utils): Support the new path of `meta.env` file and the new field for saving source revisions (#359) * support the new path of meta.env * support the new field for the image revision * minor formatting --- src/common-utils/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common-utils/main.sh') diff --git a/src/common-utils/main.sh b/src/common-utils/main.sh index f0fedcf..6b1df8a 100644 --- a/src/common-utils/main.sh +++ b/src/common-utils/main.sh @@ -477,7 +477,7 @@ if [ "${ADJUSTED_ID}" = "debian" ]; then fi # Persist image metadata info, script if meta.env found in same directory -if [ -f "/usr/local/etc/vscode-dev-containers/meta.env" ]; then +if [ -f "/usr/local/etc/vscode-dev-containers/meta.env" ] || [ -f "/usr/local/etc/dev-containers/meta.env" ]; then cp -f "${FEATURE_DIR}/bin/devcontainer-info" /usr/local/bin/devcontainer-info chmod +x /usr/local/bin/devcontainer-info fi -- cgit v1.2.3