James Moger
2015-03-07 c9afc9ed01dbc6b74ecb2734d2cd7ed943b5d643
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");