Changeset 6862


Ignore:
Timestamp:
2004-02-24T09:53:35+13:00 (20 years ago)
Author:
kjdon
Message:

don't attempt to load DBPlug on Macs either

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/PlugInManager.java

    r6861 r6862  
    452452    File files[] = directory.listFiles();
    453453    boolean is_windows = Utility.isWindows();
     454    boolean is_mac = Utility.isMac();
    454455    if(files != null) {
    455456        // Create a progress indicator.
     
    458459        // We only want to check Perl Modules.
    459460        if(files[i].getName().endsWith(".pm")) {
    460             if (is_windows && files[i].getName().equals("DBPlug.pm")) {
     461            if ((is_windows || is_mac) && files[i].getName().equals("DBPlug.pm")) {
    461462            // don't load DBPlug for windows
    462463            } else {
Note: See TracChangeset for help on using the changeset viewer.