Sha256: f6927e5611780720e29f4fd9ca97af71462ed40662c555383e1544c21f84fb4f
Contents?: true
Size: 477 Bytes
Versions: 10
Compression:
Stored size: 477 Bytes
Contents
module Invoker module Power module Distro class Arch < Base def install_required_software 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 end end end end end
Version data entries
10 entries across 10 versions & 3 rubygems