lib/invoker/power/setup/distro/arch.rb in invoker-1.4.1 vs lib/invoker/power/setup/distro/arch.rb in invoker-1.5.1
- old
+ new
@@ -1,16 +1,13 @@
module Invoker
module Power
module Distro
class Arch < Base
def install_required_software
- system("pacman -S --needed --noconfirm dnsmasq")
+ system("pacman -S --needed --noconfirm dnsmasq socat")
system("mkdir -p /etc/dnsmasq.d")
unless File.open("/etc/dnsmasq.conf").each_line.any? { |line| line.chomp == "conf-dir=/etc/dnsmasq.d" }
File.open("/etc/dnsmasq.conf", "a") {|f| f.write("conf-dir=/etc/dnsmasq.d") }
- end
- unless system("ls /usr/bin/rinetd > /dev/null 2>&1")
- fail "You'll need to install rinetd from the AUR in order to continue"
end
end
end
end
end