mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
update-initramfs: Remove test for working dpkg-trigger
dpkg-trigger was added in dpkg 1.14.17, thus in Debian lenny and Ubuntu intrepid. Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
This commit is contained in:
parent
01af757918
commit
2bb6a9cc48
@ -23,8 +23,7 @@ linux-image-*)
|
||||
;;
|
||||
?*)
|
||||
if [ $# = 1 ] \
|
||||
&& [ x"$1" = x-u ] \
|
||||
&& dpkg-trigger --check-supported 2>/dev/null
|
||||
&& [ x"$1" = x-u ]
|
||||
then
|
||||
if dpkg-trigger --no-await update-initramfs; then
|
||||
echo "update-initramfs: deferring update (trigger activated)"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user