Fix source installs to only install dependencies from source if recursive (#12869)

This commit is contained in:
Ed Reel
2025-09-21 04:45:25 -05:00
committed by GitHub
parent e85d9f4440
commit 66aaae8d68
2 changed files with 4 additions and 1 deletions

View File

@@ -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

View File

@@ -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]