From c2e7d59973d98447ba670aa677cd166a6319ad81 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Sun, 8 Feb 2009 11:13:32 +0100
Subject: Adding own iso volume when beeing in release mode.

---
 functions/defaults.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/functions/defaults.sh b/functions/defaults.sh
index 5f57c92..f1e1e3a 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -676,10 +676,15 @@ Set_defaults ()
 	if [ -z "${LH_ISO_VOLUME}" ]
 	then
 		case "${LH_MODE}" in
-			debian|debian-release)
+			debian)
 				LH_ISO_VOLUME="Debian Live \$(date +%Y%m%d-%H:%M)"
 				;;
 
+			debian-release)
+				eval VERSION="$`echo RELEASE_${LH_DISTRIBUTION}`"
+				LH_ISO_VOLUME="Debian ${VERSION} ${ARCHITECTURE} live"
+				;;
+
 			emdebian)
 				LH_ISO_VOLUME="Emdebian Live \$(date +%Y%m%d-%H:%M)"
 				;;
-- 
cgit v1.0