Skip to content

Commit

Permalink
Always download sources file when checking for updates
Browse files Browse the repository at this point in the history
  • Loading branch information
demarey committed Jan 28, 2019
1 parent f7f9abb commit 9343b48
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PharoLauncher-Core/PhLTemplateSources.class.st
Expand Up @@ -170,7 +170,8 @@ PhLTemplateSources class >> withTemplateList: aListOfPhLTemplateSource [
PhLTemplateSources >> checkForUpdates [
| downloadedSources |
file exists ifFalse: [ ^ self ensureSourcesFile ].
self downloadedSourcesFile exists ifFalse: [ self fetchSourcesFile ].
self downloadedSourcesFile ensureDelete.
self fetchSourcesFile.

downloadedSources := self downloadedSources.
self sources = downloadedSources
Expand Down

0 comments on commit 9343b48

Please sign in to comment.