summaryrefslogtreecommitdiff
path: root/lib/App/DocKnot/Update.pm
diff options
context:
space:
mode:
authorRuss Allbery <rra@cpan.org>2020-12-24 22:54:59 -0800
committerRuss Allbery <rra@cpan.org>2020-12-24 22:54:59 -0800
commite30220a31200f636a091fccfbe9db6d2afda25d2 (patch)
treeb790b8ba124157f1ba583839c39a3e7e31d03538 /lib/App/DocKnot/Update.pm
parent9b195fa290a9ac36de65c728ed99573fc011bf48 (diff)
Move packaging to distribution.packaging
Diffstat (limited to 'lib/App/DocKnot/Update.pm')
-rw-r--r--lib/App/DocKnot/Update.pm6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/App/DocKnot/Update.pm b/lib/App/DocKnot/Update.pm
index 860b0a2..91e3e24 100644
--- a/lib/App/DocKnot/Update.pm
+++ b/lib/App/DocKnot/Update.pm
@@ -212,6 +212,12 @@ sub update {
delete $data_ref->{bootstrap};
}
+ # Move packaging to distribution.packaging.
+ if (defined($data_ref->{packaging})) {
+ $data_ref->{distribution}{packaging} = $data_ref->{packaging};
+ delete $data_ref->{packaging};
+ }
+
# support.cpan is obsolete. If vcs.github is set and support.github is
# not, use it as support.github.
if (defined($data_ref->{support}{cpan})) {