summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhooks/live7
1 files changed, 7 insertions, 0 deletions
diff --git a/hooks/live b/hooks/live
index 309c26f..c916381 100755
--- a/hooks/live
+++ b/hooks/live
@@ -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 ]