add lable; smal fix
This commit is contained in:
parent
242421fbab
commit
6ce556ef84
@ -28,13 +28,16 @@ function check_config() {
|
|||||||
|
|
||||||
#Project
|
#Project
|
||||||
[ -f "<LIBDIR>/proj/$distro" ] || {
|
[ -f "<LIBDIR>/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
|
return 3
|
||||||
}
|
}
|
||||||
|
|
||||||
#live-system files
|
#live-system files
|
||||||
if [ -f "$iso_source" ]; then
|
if [ -f "$iso_source" ]; then
|
||||||
if [ -n "$iso_destination" ] && [ -d "${iso_destination%/*}" ]; then
|
if [ -n "$iso_destination" ] && [ -d "${iso_destination%/*}" ]; then
|
||||||
|
#Lable
|
||||||
|
[ -z "$iso_lable" ] && iso_lable="$distro"
|
||||||
|
|
||||||
# iso_source -> iso_destination
|
# iso_source -> iso_destination
|
||||||
# iso_source -> squashfs [optinal]
|
# iso_source -> squashfs [optinal]
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user