mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-12-23 05:08:47 +00:00
fix update...
This commit is contained in:
parent
d9c5446ecd
commit
18fe06b1cc
@ -36,7 +36,7 @@ public class CommandUpdate extends BaseCommand {
|
||||
public void run() {
|
||||
PluginInfo pi = main.repo.getPlugin(pluginname);
|
||||
if (pi != null)
|
||||
if (main.download.run(sender, pi.getMavenUrl())) {
|
||||
if (main.download.run(sender, pi.getMavenUrl(), main.plugman.getPluginFile(plugin))) {
|
||||
if (main.plugman.unload(sender, plugin)) {
|
||||
main.plugman.load(sender, pluginname);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user