summaryrefslogtreecommitdiff
path: root/dh
diff options
context:
space:
mode:
authorNiels Thykier <niels@thykier.net>2018-05-19 08:13:05 +0000
committerNiels Thykier <niels@thykier.net>2018-05-19 08:14:55 +0000
commit3cc5e6aea41f1b3d890712e622b5a4d732211936 (patch)
tree0e20a8f7c9d181029416116e9e3da4ab74cdeeb3 /dh
parent41f1ca9ed464300f5a84c9aebbf699e8b0e77928 (diff)
downloaddebhelper-3cc5e6aea41f1b3d890712e622b5a4d732211936.tar.gz
Use a new sequence to toggle dh_installinitramfs in c11 and older
Then we can make dh_installinitramfs do the same in all compat levels and people can simply opt-in with a "--with installinitramfs" in older compat levels. Signed-off-by: Niels Thykier <niels@thykier.net>
Diffstat (limited to 'dh')
-rwxr-xr-xdh4
1 files changed, 3 insertions, 1 deletions
diff --git a/dh b/dh
index 71d078c4..2dc635bd 100755
--- a/dh
+++ b/dh
@@ -416,7 +416,9 @@ qw{
dh_installppp
dh_installudev
dh_installgsettings
- dh_installinitramfs
+},
+ (!compat(11) ? qw(dh_installinitramfs) : qw()),
+qw{
dh_bugfiles
dh_ucf
dh_lintian