add project check

This commit is contained in:
6543 2018-05-20 22:52:20 +02:00
parent 8b782fa5e1
commit cdf2cc900e

View File

@ -25,6 +25,13 @@ function check_config() {
}



#Project
[ -f "<LIBDIR>/proj/$distro" ] || {
echo "No Project \"$distrp\" is not supported" | tee -a "$log_file"
return 3
}

#check live-system files
if [ -f "$iso_source" ]; then
if [ -n "$iso_destination" ] && [ -d "${iso_destination%/*}" ]; then