Sha256: 9999149d803e162f7650b3fa60d5296d6c3ad5d37b1bb373278742ccdc156e37

Contents?: true

Size: 369 Bytes

Versions: 8

Compression:

Stored size: 369 Bytes

Contents

# frozen_string_literal: true

module Getch
  module Void
    class Bootloader
      def dependencies
        Helpers.efi? ?
          Install.new('grub-x86_64-efi') :
          Install.new('grub')
      end

      def install
        Config::Grub.new
        ChrootOutput.new('xbps-reconfigure -fa') # this command also start grub-mkconfig
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
getch-0.7.3 lib/getch/void/bootloader.rb
getch-0.7.0 lib/getch/void/bootloader.rb
getch-0.5.0 lib/getch/void/bootloader.rb
getch-0.3.6 lib/getch/void/bootloader.rb
getch-0.3.5 lib/getch/void/bootloader.rb
getch-0.3.4 lib/getch/void/bootloader.rb
getch-0.3.3 lib/getch/void/bootloader.rb
getch-0.3.0 lib/getch/void/bootloader.rb