Skip warning about running Composer with root user.
parent
aa8a1c6d72
commit
299cc8a876
|
@ -136,7 +136,7 @@ section_end
|
||||||
# composer
|
# composer
|
||||||
section "composer"
|
section "composer"
|
||||||
if [ $PROFILE_COMPOSER -gt 0 ]; then
|
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" ]
|
if [ -n "$composer_path" ]
|
||||||
then
|
then
|
||||||
log "Detected composer bin path: $composer_path"
|
log "Detected composer bin path: $composer_path"
|
||||||
|
|
Loading…
Reference in New Issue