Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BjoernAtBosch committed Sep 10, 2024
1 parent 4c1401c commit 78824e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions setup/src/common/scripts/onCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@ if [[ -z "${VELOCITAS_OFFLINE}" ]]; then
fi

# Call user initialization hook if present
if [[ -x .devcontainer/scripts/onCreateUserHook.sh ]]; then
.devcontainer/scripts/onCreateUserHook.sh
ON_CREATE_USER_HOOK_PATH=.devcontainer/scripts/onCreateUserHook.sh
if [[ -x $ON_CREATE_USER_HOOK_PATH ]]; then
$ON_CREATE_USER_HOOK_PATH
fi

echo "#######################################################"
Expand Down
5 changes: 3 additions & 2 deletions setup/src/common/scripts/postStartCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
.devcontainer/scripts/upgrade-cli.sh

# Call user initialization hook if present
if [[ -x .devcontainer/scripts/onPostStartUserHook.sh ]]; then
.devcontainer/scripts/onPostStartUserHook.sh
POST_START_USER_HOOK_PATH=.devcontainer/scripts/onPostStartUserHook.sh
if [[ -x $POST_START_USER_HOOK_PATH ]]; then
$POST_START_USER_HOOK_PATH
fi

0 comments on commit 78824e7

Please sign in to comment.