fix BrewedPC check
This commit is contained in:
parent
766dfb17d9
commit
cd40c6fee1
2
builder
2
builder
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user