summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_import.sh
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2018-06-04 08:13:58 +0200
committerRamón M. Gómez <ramongomez@us.es>2018-06-04 08:13:58 +0200
commit228dd16463fb5e095869246963808ff9b9a40de9 (patch)
tree4228dc91d37025cb0175899ce0b5143fb7165c89 /installer/opengnsys_import.sh
parent82dbaff33f6f214d66911565a689d95506a12ac9 (diff)
#840: Instalador vuelve a usar Subversion como dependencia para poder adaptar la BD en el script de importación.
Diffstat (limited to 'installer/opengnsys_import.sh')
-rwxr-xr-xinstaller/opengnsys_import.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/installer/opengnsys_import.sh b/installer/opengnsys_import.sh
index 6f15ed90..26b7ede3 100755
--- a/installer/opengnsys_import.sh
+++ b/installer/opengnsys_import.sh
@@ -33,7 +33,8 @@ MYSQLFILE="$TMPDIR/$CATALOG.sql"
MYSQLBCK="$OPENGNSYS/doc/$CATALOG.sql-$DATE"
LOG_FILE=$OPENGNSYS/log/${PROG%.sh}.log
-OPENGNSYS_SERVER="opengnsys.es"
+BRANCH="branches/devel"
+SVN_URL="https://github.com/opengnsys/OpenGnsys/$BRANCH/admin/Database"
DEFAULT_MYSQL_ROOT_PASSWORD="passwordroot" # Clave por defecto root de MySQL
# Si se solicita, mostrar ayuda.
@@ -231,7 +232,6 @@ if [ $OLDVERSION != $NEWVERSION ] ; then
exit 0
fi
# Nos bajamos los archivos de actualización de la base de datos
- SVN_URL="https://$OPENGNSYS_SERVER/svn/branches/version${NEWVERSION%.*}/admin/Database"
svn checkout "$SVN_URL" $TMPDIR/Database
[ $? -ne 0 ] && errorAndLog "$PROG: Error getting code from $SVN_URL" && exit 6