From b3df6b1736062ae4cd3c3049841ac28eaed56dc7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 6 Sep 2012 13:06:44 -0400 Subject: make directory --- Build/InstallDesktopFile.hs | 1 + 1 file changed, 1 insertion(+) (limited to 'Build/InstallDesktopFile.hs') diff --git a/Build/InstallDesktopFile.hs b/Build/InstallDesktopFile.hs index c8ad9f759..d248dc20f 100644 --- a/Build/InstallDesktopFile.hs +++ b/Build/InstallDesktopFile.hs @@ -74,6 +74,7 @@ writeOSXDesktop command = do home <- myHomeDir let base = "Library" "LaunchAgents" label ++ ".plist" autostart <- ifM isRoot ( inDestDir $ "/" base , inDestDir $ home base) + createDirectoryIfMissing True (parentDir autostart) writeFile autostart $ unlines [ "" , "" -- cgit v1.2.3