Created
July 24, 2015 15:28
-
-
Save tinchodias/3b73316340a43d1c8a2d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| response | | |
response := ZnEasy get: 'https://gist.githubusercontent.com/tinchodias/2c4167220ef76eef81b3/raw/fa62c178884cffeffb1924b8c74f8ea098280928/installEpiceaStable.st'. | |
response isSuccess | |
ifFalse: [ self error: response printString ] | |
ifTrue: [ | |
(FileLocator preferences asFileReference / 'pharo') ensureCreateDirectory. | |
(FileLocator preferences asFileReference / 'pharo' / 'installEpiceaStable.st') writeStreamDo: [ :stream | | |
stream nextPutAll: response contents ] ] | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment