diff options
author | CoprDistGit <infra@openeuler.org> | 2023-09-04 03:26:47 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-09-04 03:26:47 +0000 |
commit | 3e042b3852d909b9a3f0f985e83a58ec332dfad4 (patch) | |
tree | 48f9ac356c83a8f8c36e5fde8754722c965f61f3 /composer.sh | |
parent | d8522a1aafc5b1a66f3c5c59665cf84c6a2eac26 (diff) |
automatic import of composeropeneuler23.03
Diffstat (limited to 'composer.sh')
-rw-r--r-- | composer.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/composer.sh b/composer.sh new file mode 100644 index 0000000..c75753c --- /dev/null +++ b/composer.sh @@ -0,0 +1,11 @@ +# Composer initialization script + +# Add path to commands installed using "composer global require ..." +if [ "${EUID:-0}" != "0" ]; then + case :$PATH: in + *:${HOME}/.composer/vendor/bin:*) ;; + *) PATH=$PATH:${HOME}/.composer/vendor/bin ;; + esac + export PATH +fi + |