mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-07 22:54:11 -05:00
Fix source installs to only install dependencies from source if recursive (#12869)
This commit is contained in:
3
bin/crew
3
bin/crew
@@ -1143,6 +1143,9 @@ def resolve_dependencies_and_install(no_advisory: false)
|
||||
end
|
||||
end
|
||||
|
||||
# Only install dependencies from source if recursive.
|
||||
@opt_source = false unless @opt_recursive
|
||||
|
||||
to_install.each do |pkg_to_install|
|
||||
search pkg_to_install
|
||||
print_current_package
|
||||
|
||||
@@ -4,7 +4,7 @@ require 'etc'
|
||||
require 'open3'
|
||||
|
||||
OLD_CREW_VERSION ||= defined?(CREW_VERSION) ? CREW_VERSION : '1.0'
|
||||
CREW_VERSION ||= '1.66.7' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
|
||||
CREW_VERSION ||= '1.66.8' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION
|
||||
|
||||
# Kernel architecture.
|
||||
KERN_ARCH ||= Etc.uname[:machine]
|
||||
|
||||
Reference in New Issue
Block a user