From f49a5ccf7d0636a917f7fd8435986c63701b9b32 Mon Sep 17 00:00:00 2001 From: Luke Hollins Date: Thu, 8 Dec 2016 13:23:28 -0500 Subject: [PATCH] Update index.md Change Composer example to use post-update-cmd instead of post-install-cmd. On first run post-install-cmd won't be executed. See https://getcomposer.org/doc/articles/scripts.md --- docs/installing/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/installing/index.md b/docs/installing/index.md index edd155a2..85aaf65c 100644 --- a/docs/installing/index.md +++ b/docs/installing/index.md @@ -127,7 +127,7 @@ Above script assumes that your current shell is `bash`, which might not be the c In case you got `bash` available and installed for your OS, you can switch dynamically: "scripts" : { - "post-install-cmd" : [ + "post-update-cmd" : [ "/bin/bash -c \"[[ -f /usr/local/bin/wp ]] || sudo ln -s /var/www/vendor/wp-cli/wp-cli/bin/wp /usr/bin/wp\"", "/bin/bash -c \"source /var/www/vendor/wp-cli/wp-cli/utils/wp-completion.bash\"", "/bin/bash -c \"[[ -f ~/.bash_profile ]] || touch ~/.bash_profile\"",