From a877a487d0a9505ec3c2a81ce22f7e66cc0c53c8 Mon Sep 17 00:00:00 2001 From: purple Date: Mon, 29 Jan 2024 22:00:48 +0100 Subject: [PATCH] feat `core`: remove route build file after copy route build file :) --- blueprint.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/blueprint.sh b/blueprint.sh index a063350..d45d92f 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -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.