summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Dumont <dod@debian.org>2021-06-07 19:04:34 +0200
committerDominique Dumont <dod@debian.org>2021-06-07 19:14:00 +0200
commit18bc750a8c8969670a9b55942dc17b630811718f (patch)
treeeace13d0e11979eb6c6ed716c9f3c5d0256ad1e1
parentdf7b9ec75cc77a0a30c71175078eeef4f9d4b7a2 (diff)
feat (Dpkg model): handles <pkg>.examples files
-rw-r--r--lib/Config/Model/models/Dpkg.pl14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/Config/Model/models/Dpkg.pl b/lib/Config/Model/models/Dpkg.pl
index e1f62609..6d6e2d41 100644
--- a/lib/Config/Model/models/Dpkg.pl
+++ b/lib/Config/Model/models/Dpkg.pl
@@ -146,6 +146,20 @@ Here the mapping between the install files and the install key:
'index_type' => 'string',
'type' => 'hash'
},
+ 'examples',
+ {
+ 'cargo' => {
+ 'config_class_name' => 'Dpkg::Install',
+ 'type' => 'node'
+ },
+ 'description' => 'List of the examples files to install into
+C</usr/share/doc/package/examples>
+
+Use the package name as the key of the hash
+',
+ 'index_type' => 'string',
+ 'type' => 'hash'
+ },
'not-installed',
{
'cargo' => {