Skip to content

Commit

Permalink
fix ohai call for checking platform
Browse files Browse the repository at this point in the history
Signed-off-by: rishichawda <rishichawda@users.noreply.github.com>
  • Loading branch information
rishichawda committed Dec 19, 2024
1 parent 84936c3 commit d760e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/appbundle-updater
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ TAR_LONGLINK = "././@LongLink".freeze

def install_package_dependencies
banner("Installing Packages")
case `#{bin_dir}/ohai platform_family` # rubocop: disable Lint/LiteralAsCondition
case `hab pkg exec #{ARGV[0]}/#{ARGV[1]} ohai platform_family` # rubocop: disable Lint/LiteralAsCondition
when /debian/
ENV["DEBIAN_FRONTEND"] = "noninteractive"
run("apt-get -y update")
Expand Down

0 comments on commit d760e55

Please sign in to comment.