1
0

fix BrewedPC check

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

View File

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