From a2d6df9a1934aaa3b104871bf53545567761f467 Mon Sep 17 00:00:00 2001 From: purple Date: Tue, 30 May 2023 11:36:39 +0200 Subject: [PATCH] Fix for controller_location being required, even for extensions using the default controller. --- blueprint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blueprint.sh b/blueprint.sh index a0bb18b..44cd652 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -189,7 +189,7 @@ if [[ ( $2 == "-i" ) || ( $2 == "-install" ) ]]; then if [[ $datafolder_directory == "" ]]; then log "Datafolder left blank, skipping..";fi; - if [[ $controller_location == "" ]]; then rm -R .blueprint/.storage/tmp/$n; error "'controller_location' is a required option.";fi; + if [[ $controller_location == "" ]]; then log "Controller location left blank, using default controller instead..";controller_type="default";fi; if [[ $view_location == "" ]]; then rm -R .blueprint/.storage/tmp/$n; error "'view_location' is a required option.";fi; if [[ $target != $VERSION ]]; then log_red "This extension is built for version $target, but your version is $VERSION.";fi;