Sha256: 07f9810c28cb3afd6f102cab73e4d6a916263200de2de2a25ee6b36db8336973
Contents?: true
Size: 565 Bytes
Versions: 49
Compression:
Stored size: 565 Bytes
Contents
class Specinfra::Command::Clearlinux::Base::Package < Specinfra::Command::Linux::Base::Package class << self def check_is_installed(package, version=nil) "swupd bundle-list --quiet | grep -w #{escape(package)}" end alias :check_is_installed_by_swupd :check_is_installed def get_version(package, opts=nil) "true" end def install(package, version=nil, option='') "swupd bundle-add --quiet #{package}" end def remove(package, option='') "swupd bundle-remove --quiet #{option} #{package}" end end end
Version data entries
49 entries across 49 versions & 1 rubygems