diff options
author | Joey Hess <joey@kitenet.net> | 2014-07-21 15:30:40 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2014-07-21 15:30:40 -0400 |
commit | cbd6bb0d7c6bb35b2a7068c0cd7b05e40d563bfc (patch) | |
tree | fc87561d3d7f086806bda02cf42041ccf1f09269 /Assistant/Install.hs | |
parent | 5fd2137c5f35177ceb404a4d5589fa82b192e124 (diff) |
use passed program name for kde hooks
Diffstat (limited to 'Assistant/Install.hs')
-rw-r--r-- | Assistant/Install.hs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs index 1a7799b55..bba1c5d62 100644 --- a/Assistant/Install.hs +++ b/Assistant/Install.hs @@ -140,7 +140,12 @@ installFileManagerHooks program = do , "[Desktop Action " ++ kdeDesktopSection command ++ "]" , "Name=" ++ command , "Icon=git-annex" - , "Exec=sh -c 'cd \"$(dirname '%U')\" && git-annex " ++ command ++ " --notify-start --notify-finish -- %U'" + , unwords + [ "Exec=sh -c 'cd \"$(dirname '%U')\" &&" + , program + , command + , "--notify-start --notify-finish -- %U'" + ] ] #else installFileManagerHooks _ = noop |