Skip warning about running Composer with root user.
parent
aa8a1c6d72
commit
299cc8a876
|
@ -136,7 +136,7 @@ section_end
|
|||
# composer
|
||||
section "composer"
|
||||
if [ $PROFILE_COMPOSER -gt 0 ]; then
|
||||
composer_path="$(composer global config --global --absolute bin-dir -q)"
|
||||
composer_path="$(COMPOSER_ALLOW_SUPERUSER=1 composer global config --global --absolute bin-dir -q)"
|
||||
if [ -n "$composer_path" ]
|
||||
then
|
||||
log "Detected composer bin path: $composer_path"
|
||||
|
|
Loading…
Reference in New Issue