summaryrefslogtreecommitdiffstats
path: root/lib/Debian/Debhelper/Sequence/installinitramfs.pm
blob: 365f283749ed8754d1be35f02ef385a4f42290e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/perl
# Enable dh_installinitramfs

use strict;
use warnings;
use Debian::Debhelper::Dh_Lib qw(compat error);

if (not compat(11)) {
	error("In compat 12, dh_installinitramfs is run by default and the installinitramfs-sequence is no longer required.");
}

insert_after('dh_installgsettings', 'dh_installinitramfs');

1;