summaryrefslogtreecommitdiff
path: root/Assistant/Install.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joeyh@joeyh.name>2017-10-18 13:33:33 -0400
committerGravatar Joey Hess <joeyh@joeyh.name>2017-10-18 13:33:33 -0400
commit491f69c9baf0e24039b9a5eda553018644bc9a32 (patch)
treee71f3feb63a7676b7ee739453240d9b9eb0c9e89 /Assistant/Install.hs
parentc50cc966a9365a5056e63c0087751d9636acb0ab (diff)
parent68fbef5e5663bf7850cab4afdd1addbe9a06c2f8 (diff)
Merge remote-tracking branch 'gueux/plasma5'
Diffstat (limited to 'Assistant/Install.hs')
-rw-r--r--Assistant/Install.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs
index 175888e9a..aac2a50ce 100644
--- a/Assistant/Install.hs
+++ b/Assistant/Install.hs
@@ -107,7 +107,8 @@ installFileManagerHooks program = do
-- KDE
home <- myHomeDir
- let kdeServiceMenusdir = home </> ".kde" </> "share" </> "kde4" </> "services" </> "ServiceMenus"
+ userdata <- userDataDir
+ let kdeServiceMenusdir = userdata </> "kservices5" </> "ServiceMenus"
createDirectoryIfMissing True kdeServiceMenusdir
writeFile (kdeServiceMenusdir </> "git-annex.desktop")
(kdeDesktopFile actions)