mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
@@ -79,7 +79,7 @@ class PackageUtils
|
||||
pkg_version.gsub!(/-perl5\.\d{2}/, '')
|
||||
# Delete -llvm18, futureproofed until llvm 100
|
||||
pkg_version.gsub!(/-llvm\d{2}/, '')
|
||||
# Delete -glibc2.37, or whatever the system glibc is.
|
||||
# Delete -glibc2.39, or whatever the system glibc is.
|
||||
pkg_version.delete_suffix!("-glibc#{LIBC_VERSION}")
|
||||
# Delete git version tags (1.2.4-qnd73k6), avoiding overmatching and hitting things that arent git hashtags.
|
||||
pkg_version.gsub!(/-[\w]{7}$/, '')
|
||||
|
||||
Reference in New Issue
Block a user