File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ if [ ! -f "$COMPOSER_BIN" ]; then
2525
2626 COMPOSER_SETUP_FILE=$( mktemp)
2727 check_result $? " Create temp file"
28+ chown $user : " $COMPOSER_SETUP_FILE "
2829
2930 signature=" $( curl https://composer.github.io/installer.sig) "
3031 check_result $? " Download signature"
@@ -35,7 +36,7 @@ if [ ! -f "$COMPOSER_BIN" ]; then
3536 [[ " $signature " = $( sha384sum $COMPOSER_SETUP_FILE | cut -f 1 -d " " ) ]] || check_result $E_INVALID " Composer signature does not match"
3637
3738 COMPOSER_HOME=" $HOMEDIR /$user /.config/composer" user_exec /usr/bin/php " $COMPOSER_SETUP_FILE " --install-dir=" $COMPOSER_DIR " --filename=composer
38- check_result $? " Composer instal failed"
39+ check_result $? " Composer install failed"
3940
4041 [ -f " $COMPOSER_SETUP_FILE " ] && rm -f " $COMPOSER_SETUP_FILE "
4142fi
You can’t perform that action at this time.
0 commit comments