Installer>>install: packageNameCollectionOrDetectBlock

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Installer>>install: packageNameCollectionOrDetectBlock

Sean P. DeNigris
Administrator
Installer>>install: packageNameCollectionOrDetectBlock

The parameter name had me think that I could pass #('package1' 'package2'), but only the second one got loaded.  Should the parameter name be packageNameOr...?

Sean
Cheers,
Sean
Reply | Threaded
Open this post in threaded view
|

Re: Installer>>install: packageNameCollectionOrDetectBlock

Sean P. DeNigris
Administrator
After reading some of the documentation at , I started this method comment:
install: packageNameCollectionOrDetectBlock
        "The parameter specifies the package to be installed in one of the following ways:
                - By Name e.g. install: 'Kernel'
                - Acceptable Versions e.g. install: #('Comet-lr' 'Comet-pmm') i.e. either of these
                - Specific version e.g. install: 'Scriptaculous-lr.148'
                - By Predicate e.g. install: [ :packageName | packageName beginsWith: 'Dynamic' ]"

Does this look correct?

Issue: http://bugs.squeak.org/view.php?id=7561
Fix in Inbox: Installer-Core-spd.340

Sean
Cheers,
Sean