[debian-edu-commits] debian-edu/ 220/437: debian-edu-artwork-usplash: fix failure in postinst when update-initramfs is not present by using full if statement rather than a one-liner.
Mike Gabriel
sunweaver at debian.org
Sun Mar 2 23:49:37 UTC 2014
This is an automated email from the git hooks/post-receive script.
sunweaver pushed a commit to branch master
in repository debian-edu-artwork.
commit 103c72d0d227a0a99c56d7450f182f24852743b2
Author: Vagrant Cascadian <vagrant at freegeek.org>
Date: Thu May 28 20:33:17 2009 +0000
debian-edu-artwork-usplash: fix failure in postinst when update-initramfs is
not present by using full if statement rather than a one-liner.
---
debian/changelog | 8 ++++++++
debian/debian-edu-artwork-usplash.postinst | 4 +++-
2 files changed, 11 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 7ae6662..2ec093a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+debian-edu-artwork (0.0.30~svn0) unstable; urgency=low
+
+ [ Vagrant Cascadian ]
+ * debian-edu-artwork-usplash: fix failure in postinst when update-initramfs
+ is not present by using full if statement rather than a one-liner.
+
+ -- Vagrant Cascadian <vagrant at freegeek.org> Thu, 28 May 2009 13:29:48 -0700
+
debian-edu-artwork (0.0.29) unstable; urgency=low
[ Vagrant Cascadian ]
diff --git a/debian/debian-edu-artwork-usplash.postinst b/debian/debian-edu-artwork-usplash.postinst
index bb2d173..a4f00ab 100644
--- a/debian/debian-edu-artwork-usplash.postinst
+++ b/debian/debian-edu-artwork-usplash.postinst
@@ -7,6 +7,8 @@ set -e
case "$1" in
configure)
update-alternatives --install /usr/lib/usplash/usplash-artwork.so usplash-artwork.so /usr/lib/usplash/debian-edu-usplash.so 50
- [ -x /usr/sbin/update-initramfs ] && /usr/sbin/update-initramfs -u
+ if [ -x /usr/sbin/update-initramfs ]; then
+ /usr/sbin/update-initramfs -u
+ fi
;;
esac
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-artwork.git
More information about the debian-edu-commits
mailing list