diff --git a/bin/crew b/bin/crew index 138d9377e..6cfb0fd11 100755 --- a/bin/crew +++ b/bin/crew @@ -657,6 +657,11 @@ def unpack(meta) when /\.AppImage$/i puts "Unpacking 'AppImage' archive, this may take a while..." FileUtils.chmod 0o755, meta[:filename], verbose: CREW_VERBOSE + unless CREW_GLIBC_INTERPRETER.blank? + puts "Running patchelf on #{meta[:filename]} to set interpreter".orange if CREW_VERBOSE + _appimage_set_interpreter_stdout, appimage_set_interpreter_stderr = Open3.capture3("patchelf --set-interpreter #{CREW_GLIBC_INTERPRETER} #{meta[:filename]}") + puts "#{meta[:filename]}: appimage_set_interpreter_stderr: #{appimage_set_interpreter_stderr.chomp}".lightpurple if !appimage_set_interpreter_stderr.blank? && CREW_VERBOSE + end system "../#{meta[:filename]}", '--appimage-extract', chdir: @extract_dir, exception: true when /\.gem$/i puts "Moving #{@pkg.ruby_gem_name} binary gem for install..." diff --git a/lib/const.rb b/lib/const.rb index f44480437..1e3131885 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.62.4' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION +CREW_VERSION ||= '1.62.5' unless defined?(CREW_VERSION) && CREW_VERSION == OLD_CREW_VERSION # Kernel architecture. KERN_ARCH ||= Etc.uname[:machine]