diff --git a/lib/util-iso.sh b/lib/util-iso.sh index 072ac6a..1cde59d 100644 --- a/lib/util-iso.sh +++ b/lib/util-iso.sh @@ -435,7 +435,7 @@ make_syslinux() { } check_requirements(){ - [[ -f ${run_dir}/.buildiso ]] || die "%s is not a valid iso profiles directory!" "${run_dir}" + [[ -f ${run_dir}/repo_info ]] || die "%s is not a valid iso profiles directory!" "${run_dir}" if ! $(is_valid_arch_iso ${target_arch});then die "%s is not a valid arch!" "${target_arch}" fi diff --git a/lib/util.sh b/lib/util.sh index fd0c7fe..20a29cd 100644 --- a/lib/util.sh +++ b/lib/util.sh @@ -704,7 +704,7 @@ clean_dir(){ } write_repo_conf(){ - local repos=$(find $USER_HOME -type f -name ".buildiso") + local repos=$(find $USER_HOME -type f -name "repo_info") local path name [[ -z ${repos[@]} ]] && run_dir=${DATADIR}/iso-profiles && return 1 for r in ${repos[@]}; do