summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/archives.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/archives.c b/src/archives.c
index a2cba6ac1..cf544973a 100644
--- a/src/archives.c
+++ b/src/archives.c
@@ -827,7 +827,7 @@ tarobject(void *ctx, struct tar_entry *ti)
* in dpkg-new.
*/
- if (ti->type == tar_filetype_file) {
+ if (ti->type == tar_filetype_file || ti->type == tar_filetype_symlink) {
nifd->namenode->flags |= fnnf_deferred_rename;
debug(dbg_eachfiledetail, "tarobject done and installation deferred");