feat(core): Improve placeholder logs by grouping them.

This commit is contained in:
purple 2023-11-01 15:32:11 +01:00
parent 5b8124d5c5
commit 9c41a5fbcb

View file

@ -455,6 +455,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
SKIPAZPLACEHOLDERS=false SKIPAZPLACEHOLDERS=false
fi fi
log_bright log_bold "[INFO] Applying placeholders.."
PLACE_PLACEHOLDERS() { PLACE_PLACEHOLDERS() {
local dir="$1" local dir="$1"
for file in "$dir"/*; do for file in "$dir"/*; do
@ -480,7 +481,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
sed -i "s~__blueprintversion__~$VERSION~g" "$file" sed -i "s~__blueprintversion__~$VERSION~g" "$file"
fi fi
log_bright "[INFO] Done placeholders in '$file'." log_bright " - ${file}"
elif [ -d "$file" ]; then elif [ -d "$file" ]; then
PLACE_PLACEHOLDERS "$file" PLACE_PLACEHOLDERS "$file"
fi fi