Commit d11f52c6 authored by Ed Reel's avatar Ed Reel Committed by Chris Thurber

Update composer from 1.8.4 to 1.8.5 (#3269)

parent 1f18507e
...@@ -3,9 +3,9 @@ require 'package' ...@@ -3,9 +3,9 @@ require 'package'
class Composer < Package class Composer < Package
description 'Dependency Manager for PHP' description 'Dependency Manager for PHP'
homepage 'https://getcomposer.org/' homepage 'https://getcomposer.org/'
version '1.8.4' version '1.8.5'
source_url 'https://github.com/composer/composer/archive/1.8.4.tar.gz' source_url 'https://github.com/composer/composer/archive/1.8.5.tar.gz'
source_sha256 '288ab33c8f11f0db4b5883d4a115a8ead8ef1a74c924f3accadc61d220ca22de' source_sha256 '923e87df4617de6cfed53c5a190623d3801cffe6178ac77c6ca559841967f714'
binary_url ({ binary_url ({
}) })
...@@ -16,7 +16,7 @@ class Composer < Package ...@@ -16,7 +16,7 @@ class Composer < Package
depends_on 'xdg_base' depends_on 'xdg_base'
def self.preinstall def self.preinstall
if Dir.exists? "#{HOME}/.config" if Dir.exists?("#{HOME}/.config") && !File.symlink?("#{HOME}/.config")
# Save any existing configuration # Save any existing configuration
system "cp -r #{HOME}/.config #{CREW_PREFIX}" unless Dir.empty? "#{HOME}/.config" system "cp -r #{HOME}/.config #{CREW_PREFIX}" unless Dir.empty? "#{HOME}/.config"
else else
......
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