[Pkg] Installer: Installer-Core-kph.266.mcz

squeak-dev-noreply at lists.squeakfoundation.org squeak-dev-noreply at lists.squeakfoundation.org
Tue Dec 9 03:43:15 UTC 2008


A new version of Installer-Core was added to project Installer:
http://www.squeaksource.com/Installer/Installer-Core-kph.266.mcz

==================== Summary ====================

Name: Installer-Core-kph.266
Author: kph
Time: 9 December 2008, 3:43:12 am
UUID: 41af14c9-f69f-4ee8-9298-d62a78457f17
Ancestors: Installer-Core-kph.265

fixed!!!

=============== Diff against Installer-Core-kph.265 ===============

Item was changed:
  ----- Method: Installer>>install:from: (in category 'mantis') -----
  install: aFileName from: stream
  
  | ext installSelector mcThing |
  	 
  	self log: ' installing...'.
   
  	self withAnswersDo:	[
  		
  		mcThing := self classMCReader ifNotNil: [ self mcThing: aFileName from: stream ].
  		
  		mcThing 
  			ifNotNil: [ (mcThing respondsTo: #install) 
  						ifTrue: [ mcThing install ]
  				        	ifFalse: [ (mcThing respondsTo: #load) ifTrue: [ mcThing load ] ]
  			]
  			ifNil: [ 
  		
  				ext := (aFileName copyAfterLast: $/) copyAfterLast: $..
+ 				ext = '' ifTrue: [ ext := 'st' ].
  				installSelector := ('install', ext asUppercase, ':from:') asSymbol.
  	
  				(self respondsTo: installSelector)
  					ifTrue: [ self perform: installSelector with: aFileName with: stream ]
  					ifFalse: [ self installDefault: aFileName from: stream ].
  			]
  	]. 
  
  	self log: ' done.'
  !



More information about the Packages mailing list