Sha256: a7ff510c8d4296fbf699efc473492b7db514f1abc0128fc468d6f33c70472890
Contents?: true
Size: 356 Bytes
Versions: 9
Compression:
Stored size: 356 Bytes
Contents
class Specinfra::Command::Plamo::Base::Package < Specinfra::Command::Linux::Base::Package def check_is_installed(package, version=nil) cmd = "ls /var/log/packages/#{escape(package)}" if version cmd = "#{cmd} && grep -E \"PACKAGE NAME:.+#{escape(package)}-#{escape(version)}\" /var/log/packages/#{escape(package)}" end cmd end end
Version data entries
9 entries across 9 versions & 1 rubygems