From f0d6068086b701522b92a7dd941739cf4fbb71e8 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 5 Jun 2008 12:18:42 +0000 Subject: - The conffiles control file isn't required in Debian packages, so don't error out if it's missing. (Peter Korsgaard) --- archival/dpkg.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'archival') diff --git a/archival/dpkg.c b/archival/dpkg.c index 1280ca0..c8ea0b3 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c @@ -1339,8 +1339,10 @@ static void remove_package(const unsigned package_num, int noisy) free_array(remove_files); free_array(exclude_files); - /* rename .conffile to .list */ - xrename(conffile_name, list_name); + /* rename .conffiles to .list + * The conffiles control file isn't required in Debian packages, so don't + * error out if it's missing. */ + rename(conffile_name, list_name); /* Change package status */ set_status(status_num, "config-files", 3); -- cgit v1.1