Browse Source

build: fix generation of settings file

pull/35/head
Starbeamrainbowlabs 3 years ago
parent
commit
94f28b2cad
Signed by: sbrl
GPG Key ID: 1BE5172E637709C2
  1. 2
      build

2
build

@ -143,7 +143,7 @@ task_setup() { @@ -143,7 +143,7 @@ task_setup() {
mkdir "./data"; chmod 0700 "./data";
echo -e "# -------[ Custom Settings File - Last updated $(date) ]-------" >"./data/settings.toml";
echo -e '[database]\nusername = "INSERT_DATABASE_USERNAME_HERE"\npassword = "INSERT_DATABASE_PASSWORD_HERE";' >>"./data/settings.toml";
echo -e '[database]\nusername = "INSERT_DATABASE_USERNAME_HERE"\npassword = "INSERT_DATABASE_PASSWORD_HERE"' >>"./data/settings.toml";
chmod 0600 "./data/settings.toml";
echo -e "${HC}Don't forget to edit './data/settings.toml' to specify the database username and password${RS}";

Loading…
Cancel
Save