feat core: remove route build file after copy route build file

:)
This commit is contained in:
purple 2024-01-29 22:00:48 +01:00 committed by GitHub
parent d43be15f66
commit a877a487d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -764,9 +764,15 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then VCMD="y"
if [[ $COMPONENTS_ROUTE_TYPE == "server" ]]; then
# copy build file
cp .blueprint/extensions/blueprint/private/build/extensions/clientServerRoute .blueprint/extensions/blueprint/private/build/extensions/clientServerRoute.bak
# remove copied build file
rm .blueprint/extensions/blueprint/private/build/extensions/clientServerRoute.bak
elif [[ $COMPONENTS_ROUTE_TYPE == "account" ]]; then
# copy build file
cp .blueprint/extensions/blueprint/private/build/extensions/clientAccountRoute .blueprint/extensions/blueprint/private/build/extensions/clientAccountRoute.bak
# remove copied build file
rm .blueprint/extensions/blueprint/private/build/extensions/clientAccountRoute.bak
fi
# Clear variables after doing all route stuff for a defined route.