Skip to content

Commit

Permalink
Fix plugin installation when using --clean-download-directory (#476)
Browse files Browse the repository at this point in the history
  • Loading branch information
scadu committed Sep 16, 2022
1 parent 732d47d commit 2fd115e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ public void start(boolean downloadUc) {
throw new UncheckedIOException("Unable to delete: " + pluginDir.getAbsolutePath(), e);
}
}
if (cfg.doDownload()) {
if (cfg.doDownload() && !pluginDir.exists()) {
createPluginDir(cfg.isCleanPluginDir());
}

Expand Down

0 comments on commit 2fd115e

Please sign in to comment.