Blob Blame History Raw
--- a/KeePass/App/AppDefs.cs
+++ b/KeePass/App/AppDefs.cs
@@ -32,6 +32,8 @@
 {
 	public static class AppDefs
 	{
+		public const string DebianDataDir = "/usr/share/keepass/";
+
 		public static readonly Color ColorControlNormal = SystemColors.Window;
 		public static readonly Color ColorControlDisabled = SystemColors.Control;
 		public static readonly Color ColorEditError = Color.FromArgb(255, 192, 192);
--- a/KeePass/Forms/AboutForm.cs
+++ b/KeePass/Forms/AboutForm.cs
@@ -89,8 +89,7 @@ namespace KeePass.Forms
 			m_lvComponents.Items.Add(lvi);
 
 			lvi = new ListViewItem(KPRes.XslStylesheetsKdbx);
-			string strPath = WinUtil.GetExecutable();
-			strPath = UrlUtil.GetFileDirectory(strPath, true, false);
+			string strPath = AppDefs.DebianDataDir;
 			strPath += AppDefs.XslFilesDir;
 			strPath = UrlUtil.EnsureTerminatingSeparator(strPath, false);
 			bool bInstalled = File.Exists(strPath + AppDefs.XslFileHtmlFull);