Skip to content
This repository has been archived by the owner on May 25, 2022. It is now read-only.

Commit

Permalink
#158: Fix composer create-project commands
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenrombauts committed Jan 21, 2020
1 parent c7b6225 commit 7fe2b17
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
}

exec { 'install-phpmyadmin':
command => 'composer create-project phpmyadmin/phpmyadmin /usr/share/phpmyadmin "^4.7.0" -q --repository-url=https://www.phpmyadmin.net/packages.json --no-dev --no-interaction',
command => 'composer create-project phpmyadmin/phpmyadmin . "^4.7.0" -q --repository-url=https://www.phpmyadmin.net/packages.json --no-dev --no-interaction',
unless => 'test -f /usr/share/phpmyadmin/composer.json',
cwd => '/usr/share/phpmyadmin/',
path => ['/usr/local/bin', '/usr/bin'],
user => vagrant,
environment => 'COMPOSER_HOME=/home/vagrant/.composer',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
}

exec { 'install-pimpmylog':
command => 'composer create-project potsky/pimp-my-log:1.7.14 /usr/share/pimpmylog/ --no-interaction',
cwd => '/usr/share/pimpmylog',
command => 'composer create-project potsky/pimp-my-log:1.7.14 . --no-interaction',
cwd => '/usr/share/pimpmylog/',
unless => 'test -d /usr/share/pimpmylog/vendor',
path => ['/usr/local/bin', '/usr/bin'],
user => vagrant,
Expand Down

0 comments on commit 7fe2b17

Please sign in to comment.