diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-05 12:18:42 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-05 12:18:42 +0000 |
commit | f0d6068086b701522b92a7dd941739cf4fbb71e8 (patch) | |
tree | 021638f9c00b9f9a0e2fbc59bfa7062776fe5f4b | |
parent | c05b1684a0bc104f7116b67d1dbdbfddceb4aec2 (diff) | |
download | busybox-w32-f0d6068086b701522b92a7dd941739cf4fbb71e8.tar.gz busybox-w32-f0d6068086b701522b92a7dd941739cf4fbb71e8.tar.bz2 busybox-w32-f0d6068086b701522b92a7dd941739cf4fbb71e8.zip |
- The conffiles control file isn't required in Debian packages, so don't
error out if it's missing. (Peter Korsgaard)
-rw-r--r-- | archival/dpkg.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/archival/dpkg.c b/archival/dpkg.c index 1280ca03d..c8ea0b34e 100644 --- a/archival/dpkg.c +++ b/archival/dpkg.c | |||
@@ -1339,8 +1339,10 @@ static void remove_package(const unsigned package_num, int noisy) | |||
1339 | free_array(remove_files); | 1339 | free_array(remove_files); |
1340 | free_array(exclude_files); | 1340 | free_array(exclude_files); |
1341 | 1341 | ||
1342 | /* rename <package>.conffile to <package>.list */ | 1342 | /* rename <package>.conffiles to <package>.list |
1343 | xrename(conffile_name, list_name); | 1343 | * The conffiles control file isn't required in Debian packages, so don't |
1344 | * error out if it's missing. */ | ||
1345 | rename(conffile_name, list_name); | ||
1344 | 1346 | ||
1345 | /* Change package status */ | 1347 | /* Change package status */ |
1346 | set_status(status_num, "config-files", 3); | 1348 | set_status(status_num, "config-files", 3); |