aboutsummaryrefslogtreecommitdiff
path: root/Build/InstallDesktopFile.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-08-27 13:43:03 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-08-27 13:43:03 -0400
commit2433f6ca5a602f55986bcd85c20034c88cc44a3b (patch)
tree03c10c84666301aa7252219f096867c08d662079 /Build/InstallDesktopFile.hs
parentb12db9ef9214d801280310222fc5e9d16f8af3de (diff)
use the ~/.config/git-annex/program file to find command when running transfers
Diffstat (limited to 'Build/InstallDesktopFile.hs')
-rw-r--r--Build/InstallDesktopFile.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build/InstallDesktopFile.hs b/Build/InstallDesktopFile.hs
index 891431ebe..3bcaecf9a 100644
--- a/Build/InstallDesktopFile.hs
+++ b/Build/InstallDesktopFile.hs
@@ -37,7 +37,7 @@ autostart command = genDesktopEntry
(command ++ " assistant --autostart")
[]
-writeDesktop :: String -> IO ()
+writeDesktop :: FilePath -> IO ()
writeDesktop command = do
destdir <- catchDefaultIO (getEnv "DESTDIR") ""
uid <- fromIntegral <$> getRealUserID