lib/linux_admin/common.rb in linux_admin-0.8.0 vs lib/linux_admin/common.rb in linux_admin-0.8.1
- old
+ new
@@ -1,10 +1,10 @@
require 'awesome_spawn'
class LinuxAdmin
module Common
def cmd(cmd)
- Distro.local.class::COMMANDS[cmd]
+ Distros::Distro.local.class::COMMANDS[cmd]
end
def run(cmd, options = {})
AwesomeSpawn.run(cmd, options)
end