=== modified file 'Do.Platform.Linux/src/Do.Platform/Do.Platform.Linux/SystemService.cs' --- Do.Platform.Linux/src/Do.Platform/Do.Platform.Linux/SystemService.cs 2009-06-24 03:12:20 +0000 +++ Do.Platform.Linux/src/Do.Platform/Do.Platform.Linux/SystemService.cs 2009-06-30 07:33:25 +0000 @@ -18,6 +18,7 @@ // using System; +using System.IO; using System.Reflection; using NDesk.DBus; @@ -174,6 +175,9 @@ autostartfile = DesktopItem.NewFromFile (System.IO.Path.Combine (AssemblyInfo.InstallData, "applications/gnome-do.desktop"), DesktopItemLoadFlags.NoTranslations); try { + if (!Directory.Exists (AutoStartDir)) + Directory.CreateDirectory (AutoStartDir); + autostartfile.Save (AutoStartUri, true); autostartfile.Location = AutoStartUri; } catch (Exception e) {