Class: Getch::FileSystem::Zfs::Encrypt::Deps

Inherits:
Minimal::Deps show all
Defined in:
lib/getch/filesystem/zfs/encrypt/deps.rb

Instance Method Summary collapse

Methods inherited from Minimal::Deps

#initialize

Methods included from NiTo

cp, echo, echo_a, grep?, mkdir, mount, mount?, mv, rm, search_proc_swaps, sed, sh, swapoff, swapoff_dm, touch, umount

Constructor Details

This class inherits a constructor from Getch::FileSystem::Zfs::Minimal::Deps

Instance Method Details

#install_depsObject



8
9
10
11
12
13
# File 'lib/getch/filesystem/zfs/encrypt/deps.rb', line 8

def install_deps
  case OPTIONS[:os]
  when 'gentoo' then Install.new('sys-fs/cryptsetup sys-fs/zfs')
  when 'void' then Install.new('cryptsetup zfs')
  end
end