Skip to content

Commit

Permalink
Simplified management of the composer command within the web containe…
Browse files Browse the repository at this point in the history
…r for aljibe
  • Loading branch information
juanjol committed Oct 9, 2024
1 parent 5ef1bd8 commit b52defe
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions config.aljibe.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ hooks:
- exec: |
if [ -f /var/www/html/vendor/bin/composer ] && \
[ "$(readlink /usr/local/bin/composer)" != "/var/www/html/vendor/bin/composer" ]; then \
rm -f /usr/local/bin/composer && \
ln -s /var/www/html/vendor/bin/composer /usr/local/bin/composer; \
ln -sf /var/www/html/vendor/bin/composer /usr/local/bin/composer; \
fi

0 comments on commit b52defe

Please sign in to comment.