Skip to content

Commit

Permalink
Merge pull request #360 from Automattic/fix-post-create
Browse files Browse the repository at this point in the history
fix(wordpress): user ID retrieval in the postcreate lifecycle script
  • Loading branch information
sjinks authored Sep 24, 2024
2 parents 416160d + bae7274 commit 7e86f88
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion features/src/wordpress/devcontainer-feature.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "wordpress",
"name": "WordPress",
"description": "Sets up WordPress into the Dev Environment",
"version": "2.6.2",
"version": "2.6.3",
"documentationURL": "https://github.com/Automattic/vip-codespaces/tree/trunk/features/src/wordpress",
"containerEnv": {
"WP_CLI_CONFIG_PATH": "/etc/wp-cli/wp-cli.yaml"
Expand Down
2 changes: 1 addition & 1 deletion features/src/wordpress/wordpress-post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


if [ -f composer.json ] && [ -x /usr/local/bin/composer ]; then
MY_UID="$(id -un)"
MY_UID="$(id -u)"
if [ 0 -eq "${MY_UID}" ]; then
export COMPOSER_ALLOW_SUPERUSER=1
fi
Expand Down

0 comments on commit 7e86f88

Please sign in to comment.