diff options
Diffstat (limited to 'Assistant/Install/Menu.hs')
-rw-r--r-- | Assistant/Install/Menu.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Assistant/Install/Menu.hs b/Assistant/Install/Menu.hs index 15ef5534d..d095cdd88 100644 --- a/Assistant/Install/Menu.hs +++ b/Assistant/Install/Menu.hs @@ -38,7 +38,7 @@ fdoDesktopMenu command = genDesktopEntry installIcon :: FilePath -> FilePath -> IO () installIcon src dest = do - createDirectoryIfMissing True (takeDirectory dest) + createDirectoryIfMissing True (parentDir dest) withBinaryFile src ReadMode $ \hin -> withBinaryFile dest WriteMode $ \hout -> hGetContents hin >>= hPutStr hout |