- first-time startup fix
authorJosef Spillner <josef.spillner@tu-dresden.de>
Sun, 8 Sep 2013 12:39:50 +0000 (14:39 +0200)
committerJosef Spillner <josef.spillner@tu-dresden.de>
Sun, 8 Sep 2013 12:39:50 +0000 (14:39 +0200)
kde-cloudstorage/kde-integration/syncme

index f048ac0..9fd6c47 100755 (executable)
@@ -158,6 +158,9 @@ links = LinkCollection(os.path.expanduser('~') + "/.syncme")
 links.load()
 
 def daemon_start():
+       if not os.path.exists(os.path.join(os.path.expanduser('~'), ".syncme")):
+               links.save()
+
        d = Daemon()
        pid = d.readpid()
        if pid > 0: