summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominique Dumont <dod@debian.org>2021-06-07 18:59:11 +0200
committerDominique Dumont <dod@debian.org>2021-06-07 19:14:00 +0200
commitc711f29961a9fb15714a138dc0c6d85bd0c872b2 (patch)
tree596a79a5bdb8e0bfbb96d74f87b83937328616b3
parent8ad29ca5edecfb4fbee03b00fe0db9466dc6cf3b (diff)
fix (model): make Dpkg::Install model more generic
so it can be used for <package>.examples files. Here's the name of the element holding the config (currently install or examples) is used as the suffix of the file name
-rw-r--r--lib/Config/Model/models/Dpkg/Install.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Config/Model/models/Dpkg/Install.pl b/lib/Config/Model/models/Dpkg/Install.pl
index 3e219788..417eedd9 100644
--- a/lib/Config/Model/models/Dpkg/Install.pl
+++ b/lib/Config/Model/models/Dpkg/Install.pl
@@ -40,7 +40,7 @@ See L<debhelper(7)> and L<dh_install> for more details.
'auto_delete' => '1',
'backend' => 'Dpkg::DebHelperFile',
'config_dir' => 'debian',
- 'file' => 'install'
+ 'file' => '&element(-)'
}
}
]