Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions core/core.func
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
[[ -n "${_CORE_FUNC_LOADED:-}" ]] && return
_CORE_FUNC_LOADED=1

# Scripts run as root; without this Composer waits at a "Continue as root?" prompt that $STD hides
export COMPOSER_ALLOW_SUPERUSER=1

if [[ -z "${HOME:-}" ]]; then
HOME="$(getent passwd "$(id -u)" 2>/dev/null | cut -d: -f6)"
export HOME="${HOME:-/root}"
Expand Down
Loading