mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
AutoBuild: sed started at 2025-06-18-21UTC (#12058)
* Adjust sed logic and update i686 hashes. Signed-off-by: Satadru Pramanik <satadru@gmail.com> * Add built packages for linux/amd64 to sed * Add built packages for linux/arm/v7 to sed --------- Signed-off-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: Satadru Pramanik <satadru@gmail.com> Co-authored-by: satmandu <satmandu@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
075a7eda36
commit
69d416be1b
@@ -70,7 +70,7 @@ def downloader(url, sha256sum, filename = File.basename(url), verbose: false)
|
||||
puts "Updating checksum for #{filename}".lightblue
|
||||
puts "from #{sha256sum} to #{calc_sha256sum}".lightblue
|
||||
puts "in #{CREW_LOCAL_REPO_ROOT}/packages/#{pkg_name}.rb .".lightblue
|
||||
system "sed 's/#{sha256sum}/#{calc_sha256sum}/g;w #{CREW_LOCAL_REPO_ROOT}/packages/#{pkg_name}.rb' #{CREW_LOCAL_REPO_ROOT}/packages/#{pkg_name}.rb"
|
||||
system "sed 's/#{sha256sum}/#{calc_sha256sum}/g;w #{CREW_LOCAL_REPO_ROOT}/packages/#{pkg_name}.rb.new' #{CREW_LOCAL_REPO_ROOT}/packages/#{pkg_name}.rb && mv #{CREW_LOCAL_REPO_ROOT}/packages/#{pkg_name}.rb.new #{CREW_LOCAL_REPO_ROOT}/packages/#{pkg_name}.rb"
|
||||
else
|
||||
FileUtils.rm_f filename
|
||||
|
||||
|
||||
Reference in New Issue
Block a user