diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2016-04-17 16:50:48 +0100 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2016-04-17 16:50:48 +0100 |
commit | 74597dd92db05a790ec3daac753a3c93801cd115 (patch) | |
tree | 727aee32adf10f96957ecd94094f2ad5acd1f0e7 | |
parent | 7eb0114895e0294b51bc5f009c0894219461333f (diff) |
update-initramfs: Remove $USETRIGGERS variable and condition
We've been using triggers for years without any apparent problems.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
-rwxr-xr-x | update-initramfs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/update-initramfs b/update-initramfs index 376ac96..1d4ebdd 100755 --- a/update-initramfs +++ b/update-initramfs @@ -3,7 +3,6 @@ STATEDIR=/var/lib/initramfs-tools BOOTDIR=/boot CONF=/etc/initramfs-tools/update-initramfs.conf -USETRIGGERS=true mode="" version="" update_initramfs=yes @@ -23,8 +22,7 @@ linux-image-*) fi ;; ?*) - if $USETRIGGERS \ - && [ $# = 1 ] \ + if [ $# = 1 ] \ && [ x"$1" = x-u ] \ && dpkg-trigger --check-supported 2>/dev/null then |