diff options
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 |