Sha256: cede1999d1f0111080dd964191b0486628f054fcea016ec5a94be947fd6d9f8d

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 Bytes

Contents

if ARGV[0] == 'set'
  if not File.exist?('/etc/abiquo-release')
    $stderr.puts "Abiquo release version not found. Unsupported installation."
    exit
  end
  rel_info = File.read('/etc/abiquo-release')
  if rel_info =~ /Version: 1\.7/
    load File.dirname(__FILE__) + "/set17.ext"
  elsif rel_info =~ /Version: 1\.6/
    load File.dirname(__FILE__) + "/set168.ext"
  else
    $stderr.puts "Abiquo release version not found. Unsupported installation."
    exit
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
abiquo-etk-0.4.42 lib/abicli/commands/set.rb