summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-02-08 11:13:32 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:09:41 +0100
commitc2e7d59973d98447ba670aa677cd166a6319ad81 (patch)
tree83531404febcc9c470d9f6d8a6a41774d6989d82
parent99a850bd20ca15f6bd86d23f0c527aa9651cfc79 (diff)
downloadlive-build-c2e7d59973d98447ba670aa677cd166a6319ad81.zip
live-build-c2e7d59973d98447ba670aa677cd166a6319ad81.tar.gz
Adding own iso volume when beeing in release mode.
-rwxr-xr-xfunctions/defaults.sh7
1 files changed, 6 insertions, 1 deletions
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)"
;;