From 9343b48b90eff823a21534ed76578f6f57bec81a Mon Sep 17 00:00:00 2001 From: Christophe Demarey Date: Mon, 28 Jan 2019 17:00:58 +0100 Subject: [PATCH] Always download sources file when checking for updates --- src/PharoLauncher-Core/PhLTemplateSources.class.st | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/PharoLauncher-Core/PhLTemplateSources.class.st b/src/PharoLauncher-Core/PhLTemplateSources.class.st index 1c84f93f..166e6c48 100644 --- a/src/PharoLauncher-Core/PhLTemplateSources.class.st +++ b/src/PharoLauncher-Core/PhLTemplateSources.class.st @@ -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