Skip to content

Commit

Permalink
Magento - Create .composer folder (#735)
Browse files Browse the repository at this point in the history
* Create .composer folder

* Update composer_setup.sh (#734)
  • Loading branch information
amatheossian1 committed Jan 5, 2023
1 parent a0293b7 commit 5f1f2c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion magento/2.4-php8/artifakt_scripts/composer_setup.sh
Expand Up @@ -2,4 +2,6 @@

if [ -z "$ARTIFAKT_COMPOSER_VERSION" ]; then ARTIFAKT_COMPOSER_VERSION="2.3.7"; fi
curl -sS https://getcomposer.org/installer | \
php -- --version="${ARTIFAKT_COMPOSER_VERSION}" --install-dir=/usr/local/bin --filename=composer
php -- --version="${ARTIFAKT_COMPOSER_VERSION}" --install-dir=/usr/local/bin --filename=composer

mkdir -p /var/www/.composer && chown www-data:www-data -R /var/www/.composer
4 changes: 3 additions & 1 deletion magento/2.4/artifakt_scripts/composer_setup.sh
Expand Up @@ -2,4 +2,6 @@

if [ -z "$ARTIFAKT_COMPOSER_VERSION" ]; then ARTIFAKT_COMPOSER_VERSION="2.3.7"; fi
curl -sS https://getcomposer.org/installer | \
php -- --version="${ARTIFAKT_COMPOSER_VERSION}" --install-dir=/usr/local/bin --filename=composer
php -- --version="${ARTIFAKT_COMPOSER_VERSION}" --install-dir=/usr/local/bin --filename=composer

mkdir -p /var/www/.composer && chown www-data:www-data -R /var/www/.composer

0 comments on commit 5f1f2c4

Please sign in to comment.