diff options
author | ramon <ramongomez@us.es> | 2010-11-09 20:16:38 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2010-11-09 20:16:38 +0000 |
commit | f20ea704eee9ae83e6a2c26932f4a86edb5e2213 (patch) | |
tree | 411739db676b80dcd38f8bf1a7be1fc435b3c9e2 | |
parent | 9bd1d437c690e2302c58a3c303fd951cf30c51ed (diff) |
Instalador asigna automáticamente la IP del repositorio por defecto.
Close #247.
git-svn-id: https://opengnsys.es/svn/trunk@1336 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-x | installer/opengnsys_installer.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/installer/opengnsys_installer.sh b/installer/opengnsys_installer.sh index 8de10c7d..e2c86f1e 100755 --- a/installer/opengnsys_installer.sh +++ b/installer/opengnsys_installer.sh @@ -360,6 +360,7 @@ function mysqlImportSqlFileToDb() fi echoAndLog "${FUNCNAME}(): importing sql file to ${database}..." + perl -pi -e "s/SERVERIP/$SERVERIP/g" ${sqlfile} mysql -uroot -p"${root_password}" --default-character-set=utf8 "${database}" < $sqlfile if [ $? -ne 0 ]; then errorAndLog "${FUNCNAME}(): error while importing $sqlfile in database $database" |