diff options
Diffstat (limited to 'Assistant')
-rw-r--r-- | Assistant/Install.hs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Assistant/Install.hs b/Assistant/Install.hs index 6da6d2389..00d719bec 100644 --- a/Assistant/Install.hs +++ b/Assistant/Install.hs @@ -145,10 +145,12 @@ installFileManagerHooks program = do , "Name=" ++ command , "Icon=git-annex" , unwords - [ "Exec=sh -c 'cd \"$(dirname '%U')\" &&" + [ "Exec=sh -c 'cd \"$(dirname \"$1\")\" &&" , program , command - , "--notify-start --notify-finish -- %U'" + , "--notify-start --notify-finish -- \"$1\"'" + , "false" -- this becomes $0 in sh, so unused + , "%f" ] ] #else |