Skip to content
This repository was archived by the owner on Jan 22, 2021. It is now read-only.

Commit 85007f6

Browse files
committed
Clean up... again
1 parent c497a81 commit 85007f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/cfpa/i18nupdatemod/I18nUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ static String getLocalRepositoryFolder(String path) throws IllegalArgumentExcept
105105
String OS = System.getProperty("os.name").toLowerCase();
106106
String folder;
107107
if (path.equals("Auto")) {
108-
if (OS.contains("mac") || OS.contains("nix") || OS.contains("nux") || OS.indexOf("aix") > 0) {
108+
if (OS.contains("mac") || OS.contains("nix") || OS.contains("nux") || OS.contains("aix")) {
109109
String userHome = System.getProperty("user.home");
110110
if (userHome != null) {
111111
folder = new File(userHome, ".I18nUpdateMod").getPath();

0 commit comments

Comments
 (0)