Commit c665520e authored by Damian Montero's avatar Damian Montero Committed by GitHub

Merge pull request #741 from uberhacker/fix-composer-package

Fix depends_on issue as pointed out by @lyxell
parents 0f86cc22 5ba69cc6
......@@ -7,7 +7,7 @@ class Composer < Package
source_url 'https://github.com/composer/composer/archive/1.4.2.tar.gz'
source_sha1 'd0179a967011891c2c1e6067acc1faa1e8a8c81c'
depends_on 'php5' || 'php7'
depends_on 'php7' unless File.exists? '/usr/local/bin/php'
def self.install
system "php -r \"copy('https://getcomposer.org/installer', 'composer-setup.php');\""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment