feat core: Route names can now be undefined.

This commit is contained in:
prplwtf 2024-02-25 13:56:55 +01:00
parent fa39d9fc47
commit 236981446a

View file

@ -857,8 +857,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) || ( $2 == "-add" ) ]]; then VCMD="
fi
# Return error if routes are defined incorrectly.
if [[ $COMPONENTS_ROUTE_NAME == "" ]] \
|| [[ $COMPONENTS_ROUTE_PATH == "" ]] \
if [[ $COMPONENTS_ROUTE_PATH == "" ]] \
|| [[ $COMPONENTS_ROUTE_TYPE == "" ]] \
|| [[ $COMPONENTS_ROUTE_COMP == "" ]]; then
rm -R ".blueprint/tmp/$n"