Commit 975b9381 authored by Ed Reel's avatar Ed Reel Committed by GitHub

Update symfony from 4.22.0 to 4.23.5 (#5741)

parent eba8d02c
......@@ -3,7 +3,7 @@ require 'package'
class Symfony < Package
description 'Symfony is a set of PHP Components, a Web Application framework'
homepage 'https://symfony.com/'
version '4.22.0'
version '4.23.5'
license 'Symfony-cli-EULA'
compatibility 'all'
source_url 'SKIP'
......@@ -14,18 +14,18 @@ class Symfony < Package
case ARCH
when 'aarch64', 'armv7l'
arch = 'arm'
sha256 = '046556c80a484a099163d1234f3ee7d6ee87ac4f6b227f56310f8c3a9141da9c'
sha256 = 'abc16666f20b022ec4eeb2fddcc968e622ab7c656c69e34d41acd0ae51a99a28'
when 'i686'
arch = '386'
sha256 = '07d48c26714b8c6775a0b079d33ac386c142ff0bd91e1c6647ad6b1a76b532ee'
sha256 = '65398740b4da78d312d6ecd94e8adfa4ea5d934398b18dec66e1d995332d419e'
when 'x86_64'
arch = 'amd64'
sha256 = '99cb1834bba250ccfaf0ad0689c124977d36ae03a7805d78e36c79b8da0da118'
sha256 = '43aef5fd5d45f4602697cad016eff504cb68ec6ad1271c7b1e2a089e1eedd05a'
end
symfony_file = "symfony_linux_#{arch}"
system "curl -#LO https://github.com/symfony/cli/releases/download/v#{version}/#{symfony_file}"
abort 'Checksum mismatch. :/ Try again.'.lightred unless Digest::SHA256.hexdigest( File.read(symfony_file) ) == sha256
system "install -Dm755 #{symfony_file} #{CREW_DEST_PREFIX}/bin/symfony"
FileUtils.install symfony_file, "#{CREW_DEST_PREFIX}/bin/symfony", mode: 0o755
end
def self.postinstall
......
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