Skip to content

Commit

Permalink
Merge pull request #28 from ShaneShipston/feature-wpver
Browse files Browse the repository at this point in the history
add Option for WordPress Version
  • Loading branch information
flurinduerst authored Oct 7, 2016
2 parents b943655 + 79d8f3d commit 94b867f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
# WordPress folder
wpfolder: public

# WordPress Version
wpversion: latest

# language/timezone
wplocale: en_US
timezone: "America/New_York"
Expand Down
2 changes: 1 addition & 1 deletion setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ cd $CONF_wpfolder
if $CONF_setup_wp ; then
printf "${BRN}[=== INSTALL WORDPRESS ===]${NC}\n"
printf "${BLU}»»» downloading WordPress...${NC}\n"
wp core download --locale=$CONF_wplocale
wp core download --locale=$CONF_wplocale --version=$CONF_wpversion
printf "${BLU}»»» creating wp-config...${NC}\n"
wp core config --dbname=$CONF_db_name --dbuser=$CONF_db_user --dbpass=$CONF_db_pass --dbprefix=$CONF_db_prefix --locale=$CONF_wplocale
printf "${BLU}»»» installing wordpress...${NC}\n"
Expand Down

0 comments on commit 94b867f

Please sign in to comment.