| 12
 3
 4
 5
 6
 7
 8
 9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 
 | From: Benjamin Mesing <bensmail@gmx.net>
Date: Sun, 2 Jun 2013 16:11:33 +0200
Subject: - fix Paths to work for debian,
 change config dir from $Home/UMLet to $HOME/.umlet
Forwarded: not-needed
---
 Baselet/src/com/baselet/control/Main.java      | 7 ++-----
 Baselet/src/com/baselet/control/util/Path.java | 6 +++++-
 2 files changed, 7 insertions(+), 6 deletions(-)
--- a/umlet-standalone/src/main/java/com/baselet/standalone/MainStandalone.java
+++ b/umlet-standalone/src/main/java/com/baselet/standalone/MainStandalone.java
@@ -262,14 +262,8 @@ public class MainStandalone {
 	}
 
 	private static void initHomeProgramPath() {
-		String tempPath, realPath;
-		tempPath = Path.executable();
-		tempPath = tempPath.substring(0, tempPath.length() - 1);
-		tempPath = tempPath.substring(0, tempPath.lastIndexOf('/') + 1);
-		if (tempPath.endsWith("/lib/")) {
-			tempPath = tempPath.substring(0, tempPath.length() - "lib/".length());
-		}
-		realPath = new File(tempPath).getAbsolutePath() + "/";
+		// BM fixed path
+		String realPath = "/usr/share/umlet/";
 		Path.setHomeProgram(realPath);
 	}
 
 |