diff options
Diffstat (limited to '')
-rwxr-xr-x | InstallItAll.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/InstallItAll.sh b/InstallItAll.sh index 8f9df11..0b89dd2 100755 --- a/InstallItAll.sh +++ b/InstallItAll.sh | |||
@@ -88,6 +88,10 @@ popd >/dev/null | |||
88 | 88 | ||
89 | sudo cp bin/config-include/config_* ../config/ | 89 | sudo cp bin/config-include/config_* ../config/ |
90 | sudo ln -fs config_localhost.ini ../config/config.ini | 90 | sudo ln -fs config_localhost.ini ../config/config.ini |
91 | sudo sed -i "s@MYSQL_HOST@${MYSQL_HOST}@g" ../config/config_DG.ini | ||
92 | sudo sed -i "s@MYSQL_DB@${MYSQL_DB}@g" ../config/config_DG.ini | ||
93 | sudo sed -i "s@MYSQL_USER@${MYSQL_USER}@g" ../config/config_DG.ini | ||
94 | |||
91 | sudo sed -i "s@MYSQL_HOST@${MYSQL_HOST}@g" ../config/config_IG.ini | 95 | sudo sed -i "s@MYSQL_HOST@${MYSQL_HOST}@g" ../config/config_IG.ini |
92 | sudo sed -i "s@MYSQL_DB@${MYSQL_DB}@g" ../config/config_IG.ini | 96 | sudo sed -i "s@MYSQL_DB@${MYSQL_DB}@g" ../config/config_IG.ini |
93 | sudo sed -i "s@MYSQL_USER@${MYSQL_USER}@g" ../config/config_IG.ini | 97 | sudo sed -i "s@MYSQL_USER@${MYSQL_USER}@g" ../config/config_IG.ini |
@@ -101,6 +105,7 @@ sudo sed -i "s@MYSQL_DB@${MYSQL_DB}@g" ../config/config_localhost.ini | |||
101 | sudo sed -i "s@MYSQL_USER@${MYSQL_USER}@g" ../config/config_localhost.ini | 105 | sudo sed -i "s@MYSQL_USER@${MYSQL_USER}@g" ../config/config_localhost.ini |
102 | 106 | ||
103 | sudo chmod 600 ../config/*.ini | 107 | sudo chmod 600 ../config/*.ini |
108 | sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_DG.ini | ||
104 | sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_IG.ini | 109 | sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_IG.ini |
105 | sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_MG.ini | 110 | sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_MG.ini |
106 | sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_localhost.ini | 111 | sudo sed -i "s@MYSQL_PASSWORD@${MYSQL_PASSWORD}@g" ../config/config_localhost.ini |