diff options
author | eitsupi <50911393+eitsupi@users.noreply.github.com> | 2022-12-27 16:25:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-27 16:25:33 +0300 |
commit | b6921f9b9f594b6674b25189eee41783e6c6f22e (patch) | |
tree | 7f67ced3d778c2102788174f1f83e9191bda2ff3 /src/common-utils/main.sh | |
parent | b9bfe406d211ce5645a165a73b72048e9ea9e88e (diff) |
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
Diffstat (limited to 'src/common-utils/main.sh')
-rw-r--r-- | src/common-utils/main.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |