Class: Y2Packager::LicensesHandlers::Libzypp
- Defined in:
- library/packages/src/lib/y2packager/licenses_handlers/libzypp.rb
Overview
This class is responsible for interacting with libzypp in order to get/set the license acceptance status for a given product
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#confirmation=(confirmed) ⇒ Object
Set the license confirmation for the product.
Methods inherited from Base
Constructor Details
This class inherits a constructor from Y2Packager::LicensesHandlers::Base
Instance Method Details
#confirmation=(confirmed) ⇒ Object
Set the license confirmation for the product
25 26 27 28 29 30 31 |
# File 'library/packages/src/lib/y2packager/licenses_handlers/libzypp.rb', line 25 def confirmation=(confirmed) if confirmed Yast::Pkg.PrdMarkLicenseConfirmed(product_name) else Yast::Pkg.PrdMarkLicenseNotConfirmed(product_name) end end |