From 3c68df5475693af68581744d0a50b9fca6d19c7a Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 18 Oct 2009 15:01:36 -0600 Subject: [PATCH] IGN:Linux binary add libuuid --- setup/installer/linux/freeze.py | 1 + src/calibre/web/feeds/recipes/collection.py | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/setup/installer/linux/freeze.py b/setup/installer/linux/freeze.py index ef9c9d9a8e..d3666b5aae 100644 --- a/setup/installer/linux/freeze.py +++ b/setup/installer/linux/freeze.py @@ -46,6 +46,7 @@ class LinuxFreeze(Command): '/usr/lib/libmng.so.1', '/usr/lib/libpodofo.so.0.6.99', '/lib/libz.so.1', + '/lib/libuuid.so.1', '/usr/lib/libtiff.so.3', '/lib/libbz2.so.1', '/usr/lib/libpoppler.so.5', diff --git a/src/calibre/web/feeds/recipes/collection.py b/src/calibre/web/feeds/recipes/collection.py index b52212d73e..8002ce07bb 100644 --- a/src/calibre/web/feeds/recipes/collection.py +++ b/src/calibre/web/feeds/recipes/collection.py @@ -196,7 +196,8 @@ class SchedulerConfig(object): self.root.text = '\n\n\t' for x in self.root: x.tail = '\n\n\t' - self.root[-1].tail = '\n\n' + if len(self.root) > 0: + self.root[-1].tail = '\n\n' with ExclusiveFile(self.conf_path) as f: f.seek(0) f.truncate()