Method: Yast::PackageClass#CheckAndInstallPackages
- Defined in:
- library/packages/src/modules/Package.rb
#CheckAndInstallPackages(packages) ⇒ Boolean
Check if packages are installed
Install them if they are not and user approves installation
false otherwise
149 150 151 152 153 154 |
# File 'library/packages/src/modules/Package.rb', line 149 def CheckAndInstallPackages(packages) return true if Mode.config || Stage.initial return true if InstalledAll(packages) InstallAll(packages) end |