feat core
: Only place legacy placeholders if using alpha or indev as target version
This commit is contained in:
parent
b5ff1bb2b5
commit
1bceb1d65b
1 changed files with 39 additions and 36 deletions
|
@ -547,6 +547,8 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
|
|||
installation_timestamp=$(date +%s)
|
||||
if [[ $dev == true ]]; then INSTALLMODE="developer"; fi
|
||||
|
||||
if [[ $target == "alpha-"* ]] \
|
||||
|| [[ $target == "indev-"* ]]; then
|
||||
PLACE_PLACEHOLDERS() {
|
||||
local dir="$1"
|
||||
for file in "$dir"/*; do
|
||||
|
@ -587,6 +589,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
|
|||
}
|
||||
PLACE_PLACEHOLDERS "$DIR"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $name == "" ]]; then rm -R ".blueprint/tmp/$n"; PRINT FATAL "'info_name' is a required configuration option.";exit 1;fi
|
||||
if [[ $identifier == "" ]]; then rm -R ".blueprint/tmp/$n"; PRINT FATAL "'info_identifier' is a required configuration option.";exit 1;fi
|
||||
|
|
Loading…
Reference in a new issue