From e2623dfc0dc2f86cfa10fbd6e8e26bb04c9aa31e Mon Sep 17 00:00:00 2001 From: Maged Adel Date: Thu, 27 Apr 2017 13:38:19 +0200 Subject: [PATCH 1/2] HW-297: Set bootstrap wizard as default while installing mosaico --- bin/setup.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/bin/setup.sh b/bin/setup.sh index 432170023d..fb151ed5cc 100755 --- a/bin/setup.sh +++ b/bin/setup.sh @@ -80,6 +80,11 @@ function do_gencode() { echo "If there have been XML schema changes, then be sure to manually update the .sql files!" } +############################## +function default_settings() { + cv api setting.create mosaico_layout=bootstrap-wizard +} + ############################## function do_download() { if [ ! -d "$EXTROOT/packages" ]; then @@ -98,6 +103,7 @@ function do_download() { fi npm install grunt build + default_settings popd >> /dev/null } From cbd201ae10cf939eeccd24e3d0166f3d53fa4a04 Mon Sep 17 00:00:00 2001 From: Maged Adel Date: Thu, 27 Apr 2017 13:51:30 +0200 Subject: [PATCH 2/2] HW-297: Change function name to make sense with its behaviour --- bin/setup.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/setup.sh b/bin/setup.sh index fb151ed5cc..96a0633333 100755 --- a/bin/setup.sh +++ b/bin/setup.sh @@ -81,7 +81,7 @@ function do_gencode() { } ############################## -function default_settings() { +function set_default_settings() { cv api setting.create mosaico_layout=bootstrap-wizard } @@ -103,7 +103,7 @@ function do_download() { fi npm install grunt build - default_settings + set_default_settings popd >> /dev/null }