mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
Platformsh 5.1.1 => 5.2.0 (#12322)
This commit is contained in:
@@ -3,11 +3,11 @@ require 'package'
|
||||
class Platformsh < Package
|
||||
description 'The unified tool for managing your Platform.sh services from the command line.'
|
||||
homepage 'https://docs.platform.sh/overview/cli.html'
|
||||
version '5.1.1'
|
||||
version '5.2.0'
|
||||
license 'MIT'
|
||||
compatibility 'aarch64 armv7l x86_64'
|
||||
source_url "https://github.com/platformsh/cli/releases/download/#{version}/platform_#{version}_linux_amd64.tar.gz"
|
||||
source_sha256 'dad7a987a3b3825e464dc91e344c51a82a68512082345ee6451cb7c16c4e7365'
|
||||
source_sha256 'a2e11a2c53738ce373dde65ab1bad6eac5aafc21232a2f33d0dd34e69ef82995'
|
||||
|
||||
depends_on 'php83' unless File.exist? "#{CREW_PREFIX}/bin/php"
|
||||
|
||||
@@ -20,4 +20,8 @@ class Platformsh < Package
|
||||
FileUtils.install 'completion/bash/platform.bash', "#{CREW_DEST_PREFIX}/etc/bash.d/platform.bash", mode: 0o644
|
||||
FileUtils.install 'completion/bash/upsun.bash', "#{CREW_DEST_PREFIX}/etc/bash.d/upsun.bash", mode: 0o644
|
||||
end
|
||||
|
||||
def self.postremove
|
||||
Package.agree_to_remove("#{HOME}/.platformsh")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user