1
0

fix BrewedPC check

This commit is contained in:
GenZmeY 2022-09-02 12:56:32 +03:00
parent 766dfb17d9
commit cd40c6fee1

20
builder
View File

@ -284,15 +284,17 @@ function init ()
msg "creating new $(basename "$MutBuilderConfig")" msg "creating new $(basename "$MutBuilderConfig")"
fi fi
while read -r Map if [[ -d "$MutBrewedPCAddon" ]]; then
do while read -r Map
if [[ -z "$AviableMaps" ]]; then do
DefMap="$Map" if [[ -z "$AviableMaps" ]]; then
AviableMaps="$Map" DefMap="$Map"
else AviableMaps="$Map"
AviableMaps="$AviableMaps $Map" else
fi AviableMaps="$AviableMaps $Map"
done < <(find "$MutBrewedPCAddon" -type f -iname '*.kfm' -printf "%f\n" | sort) fi
done < <(find "$MutBrewedPCAddon" -type f -iname '*.kfm' -printf "%f\n" | sort)
fi
while read -r Package while read -r Package
do do