diff options
author | Daniel Baumann <daniel@debian.org> | 2011-08-31 20:55:05 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-08-31 20:55:52 +0200 |
commit | 37824b1cb96596d93e397e876d95dab7cdba495e (patch) | |
tree | a811b2cebd1226fd78798a1d4f14f6cfc3a7d529 /hooks | |
parent | 2daf9332f1a037eff1046f008650237d231a8bb1 (diff) | |
download | live-boot-37824b1cb96596d93e397e876d95dab7cdba495e.tar.gz live-boot-37824b1cb96596d93e397e876d95dab7cdba495e.zip |
Printing out a warning message in initramfs-tools hook if backend is installed but no live-boot package, exiting early and not breaking update-initramfs (Closes: #639884).
Diffstat (limited to 'hooks')
-rwxr-xr-x | hooks/live | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -42,6 +42,13 @@ fi # Handling live-boot +if [ ! -e /usr/share/live-boot ] +then + echo "W: live-boot-initramfs-tools (backend) installed without live-boot," + echo "W: this initramfs will *NOT* have live support." + exit 0 +fi + [ "${QUIET}" ] || echo -n " "core # Configuration if [ -e /usr/share/live-boot/languagelist ] |