diff options
author | Félix Sipma <felix.sipma@no-log.org> | 2017-10-18 14:14:37 +0200 |
---|---|---|
committer | Félix Sipma <felix.sipma@no-log.org> | 2017-10-18 14:27:56 +0200 |
commit | 68fbef5e5663bf7850cab4afdd1addbe9a06c2f8 (patch) | |
tree | 9a3bd03e1bec4cf3eb0101931e18b9df0817a97c /Assistant/Install.hs | |
parent | 9031c09cde4d6ed668c18ff6ee064172f4a9af43 (diff) |
use plasma 5 location for ServiceMenus files on linux
Diffstat (limited to 'Assistant/Install.hs')
-rw-r--r-- | Assistant/Install.hs | 3 |
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) |