Changeset 5867 in josm for trunk


Ignore:
Timestamp:
2013-04-15T17:46:08+02:00 (7 years ago)
Author:
stoecker
Message:

nicer linux os string for some distros

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookUnixoid.java

    r5853 r5867  
    9797                if (line != null && !line.isEmpty()) {
    9898                    line = line.replaceAll("\"+","");
    99                     if(!line.isEmpty())
     99                    if(line.startsWith("Linux ")) // e.g. Linux Mint
     100                        return line;
     101                    else if(!line.isEmpty())
    100102                        return "Linux " + line;
    101103                }
Note: See TracChangeset for help on using the changeset viewer.