Method: Specinfra::Command::Ubuntu::Base::Ppa.check_exists

Defined in:
lib/specinfra/command/ubuntu/base/ppa.rb

.check_exists(package) ⇒ Object

[View source]

3
4
5
# File 'lib/specinfra/command/ubuntu/base/ppa.rb', line 3

def check_exists(package)
  %Q{find /etc/apt/ -name \*.list | xargs grep -o -E "deb +[\\"']?http://ppa.launchpad.net/#{to_apt_line_uri(package)}"}
end