From: tierno Date: Mon, 24 Apr 2017 10:54:12 +0000 (+0200) Subject: Fix issue at option updatedb X-Git-Tag: v2.0.0~5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=fdbdb09960fdf66bb37330d804a2a909c1f987e4;p=osm%2Fopenvim.git Fix issue at option updatedb Change-Id: I4e172d6e3af78aae9ab19270b9f9fe5bac929ece Signed-off-by: tierno --- diff --git a/database_utils/install-db-server.sh b/database_utils/install-db-server.sh index 62738fd..24116b5 100755 --- a/database_utils/install-db-server.sh +++ b/database_utils/install-db-server.sh @@ -102,7 +102,7 @@ function _create_db(){ || exit 1 echo " Database '${DB_NAME}' created, user '$DB_USER' password '$DB_PASS'" DIRNAME=$(dirname $(readlink -f ${BASH_SOURCE[0]})) - ${DIRNAME}/init_mano_db.sh -u"$DB_USER" -p"$DB_PASS" -d"$DB_NAME" -P"$DB_PORT" $DB_HOST_PARAM \ + ${DIRNAME}/init_vim_db.sh -u"$DB_USER" -p"$DB_PASS" -d"$DB_NAME" -P"$DB_PORT" $DB_HOST_PARAM \ || ! echo "Error initializing database '$DB_NAME'" >&2 \ || exit 1 } @@ -125,7 +125,7 @@ function _update_db(){ || exit 1 echo " Granted privileges to user '$DB_USER' password '$DB_PASS' to existing database '${DB_NAME}'" DIRNAME=$(dirname $(readlink -f ${BASH_SOURCE[0]})) - ${DIRNAME}/migrate_mano_db.sh -u"$DB_USER" -p"$DB_PASS" -d"$DB_NAME" -P"$DB_PORT" $DB_HOST_PARAM \ + ${DIRNAME}/migrate_vim_db.sh -u"$DB_USER" -p"$DB_PASS" -d"$DB_NAME" -P"$DB_PORT" $DB_HOST_PARAM \ || ! echo "Error updating database '$DB_NAME'" >&2 \ || exit 1 }