James Moger
2014-11-04 4aff00191f7d8ede39dfdcda703c61f33c5f000d
src/main/java/com/gitblit/manager/PluginManager.java
@@ -377,7 +377,7 @@
      List<PluginRegistration> list = getRegisteredPlugins();
      Iterator<PluginRegistration> itr = list.iterator();
      while (itr.hasNext()) {
         if (state != itr.next().getInstallState()) {
         if (state != itr.next().getInstallState(getSystemVersion())) {
            itr.remove();
         }
      }
@@ -421,6 +421,10 @@
   protected File download(String url, boolean verifyChecksum) throws IOException {
      File file = downloadFile(url);
      if (!verifyChecksum) {
         return file;
      }
      File sha1File = null;
      try {
         sha1File = downloadFile(url + ".sha1");