Method: Specinfra::Command::Cumuluslinux::Base::Ppa.check_exists
- Defined in:
- lib/specinfra/command/cumulus/base/ppa.rb
permalink .check_exists(package) ⇒ Object
[View source]
3 4 5 |
# File 'lib/specinfra/command/cumulus/base/ppa.rb', line 3 def check_exists(package) %Q{find /etc/apt/ -name \*.list | xargs grep -o "deb +http://repo.cumulusnetworks.com/#{to_apt_line_uri(package)}"} end |