From 6ce556ef8423acbbd63a9d9f45135bcbb5b6957b Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Sun, 20 May 2018 22:55:54 +0200 Subject: [PATCH] add lable; smal fix --- src/func/check_config | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/func/check_config b/src/func/check_config index 4e413dc..aeb7e5f 100755 --- a/src/func/check_config +++ b/src/func/check_config @@ -28,13 +28,16 @@ function check_config() { #Project [ -f "/proj/$distro" ] || { - echo "No Project \"$distrp\" is not supported" | tee -a "$log_file" + echo "No Project \"$distro\" is not supported" | tee -a "$log_file" return 3 } #live-system files if [ -f "$iso_source" ]; then if [ -n "$iso_destination" ] && [ -d "${iso_destination%/*}" ]; then + #Lable + [ -z "$iso_lable" ] && iso_lable="$distro" + # iso_source -> iso_destination # iso_source -> squashfs [optinal] else