From 66aaae8d68bdcee1a2ff2d1b8f2691533b0eb985 Mon Sep 17 00:00:00 2001 From: Ed Reel Date: Sun, 21 Sep 2025 04:45:25 -0500 Subject: [PATCH] Fix source installs to only install dependencies from source if recursive (#12869) --- bin/crew | 3 +++ lib/const.rb | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/crew b/bin/crew index 09fb62315..1c17fe461 100755 --- a/bin/crew +++ b/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 diff --git a/lib/const.rb b/lib/const.rb index c9ce34a28..687de435d 100644 --- a/lib/const.rb +++ b/lib/const.rb @@ -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]