diff --git a/src/func/check_config b/src/func/check_config index 19eddeb..d3e33b8 100755 --- a/src/func/check_config +++ b/src/func/check_config @@ -25,6 +25,13 @@ function check_config() { } + + #Project + [ -f "/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