From 228dd16463fb5e095869246963808ff9b9a40de9 Mon Sep 17 00:00:00 2001 From: "Ramón M. Gómez" Date: Mon, 4 Jun 2018 08:13:58 +0200 Subject: #840: Instalador vuelve a usar Subversion como dependencia para poder adaptar la BD en el script de importación. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- installer/opengnsys_import.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'installer/opengnsys_import.sh') 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 -- cgit v1.2.3-18-g5258