Class: Getch::Gentoo::Update

Inherits:
Object
  • Object
show all
Includes:
NiTo
Defined in:
lib/getch/gentoo/update.rb

Overview

update system gentoo

Instance Method Summary collapse

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

#initializeUpdate

Returns a new instance of Update.



11
12
13
14
15
# File 'lib/getch/gentoo/update.rb', line 11

def initialize
  @log = Log.new
  @dest = "#{OPTIONS[:mountpoint]}/etc/portage"
  x
end