bin/appbundle-updater in appbundle-updater-0.2.12 vs bin/appbundle-updater in appbundle-updater-0.3.0
- old
+ new
@@ -66,12 +66,16 @@
banner("Installing Packages")
case `#{bin_dir}/ohai platform_family`
when /debian/
ENV["DEBIAN_FRONTEND"] = "noninteractive"
run("apt-get -y update")
- run("apt-get -q -y install build-essential git")
+ run("apt-get -q -y install build-essential git liblzma-dev zlib1g-dev")
when /fedora/, /rhel/
- run("yum -y install gcc make git")
+ if File.exist?("/usr/bin/dnf")
+ run("dnf -y install gcc make git zlib-devel lzma-devel")
+ else
+ run("yum -y install gcc make git zlib-devel lzma-devel")
+ end
when /suse/
run("zypper --non-interactive install gcc make git")
else
puts "i do not know how to install compilers and git on this platform..."
end