From 0c6f55711f64047744a960c99e04a173a1d19ff1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20COUDERC?= Date: Wed, 9 Nov 2016 21:52:56 +0000 Subject: [PATCH] Fix detection of update-initramfs. (Closes: #843727) --- debian/changelog | 1 + debian/postinst | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index ea76df1..ca53dff 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,7 @@ desktop-base (9.0.0~exp2) UNRELEASED; urgency=medium [ Aurélien COUDERC ] * Remove Moreblue theme from Lenny. + * Fix detection of update-initramfs. (Closes: #843727) -- Aurélien COUDERC Mon, 07 Nov 2016 22:28:06 +0100 diff --git a/debian/postinst b/debian/postinst index 3de34f8..5e8a9ec 100644 --- a/debian/postinst +++ b/debian/postinst @@ -199,8 +199,7 @@ EOF update-grub2 || true fi - which update-initramfs > /dev/null - if [ $? -eq 0 ] ; then + if which update-initramfs > /dev/null; then update-initramfs -u fi