Author: adietish
Date: 2012-01-05 09:33:54 -0500 (Thu, 05 Jan 2012)
New Revision: 37654
Modified:
trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/googleanalytics/eclipse/LinuxSystem.java
Log:
[JBIDE-10577] added Mint Linux
Modified:
trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/googleanalytics/eclipse/LinuxSystem.java
===================================================================
---
trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/googleanalytics/eclipse/LinuxSystem.java 2012-01-05
14:29:36 UTC (rev 37653)
+++
trunk/usage/plugins/org.jboss.tools.usage/src/org/jboss/tools/usage/googleanalytics/eclipse/LinuxSystem.java 2012-01-05
14:33:54 UTC (rev 37654)
@@ -107,6 +107,12 @@
super(CENTOS_NAME, REDHAT_RELEASE_FILE);
}
+ /**
+ * Checks if the current system is a Mint Linux distribution.
+ * It checks if /etc/lsb-release contains <tt>LinuxMint"</tt>.
+ * We could also check for presence of /etc/linuxmint(/info)
+ * @return
+ */
@Override
protected boolean isDistro() {
try {