Class: Y2Packager::LicensesHandlers::Rpm
- Defined in:
- library/packages/src/lib/y2packager/licenses_handlers/rpm.rb
Overview
This class is responsible for interacting with an rpm 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/rpm.rb', line 25 def confirmation=(confirmed) if confirmed log.info("License was accepted") else log.info("License was not accepted") end end |