mirror of
https://e.coding.net/circlecloud/Yum.git
synced 2024-11-22 14:28:46 +00:00
fix install error...
Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
parent
0fae10c772
commit
6c4811218c
@ -34,7 +34,7 @@ public class YumManager {
|
||||
public static boolean install(final CommandSender sender, final String pluginname, final String version) {
|
||||
final PluginInfo pi = repo.getPlugin(pluginname);
|
||||
if (pi != null) {
|
||||
if (download.run(sender, pi.getMavenUrl(version), new File("plugins", pi.plugin.name))) {
|
||||
if (download.run(sender, pi.getMavenUrl(version), new File("plugins", pi.plugin.name + ".jar"))) {
|
||||
return plugman.load(sender, pluginname);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user