summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-02-22 13:36:00 +0000
committerramon <ramongomez@us.es>2018-02-22 13:36:00 +0000
commitdcc357596009b4bbeb2c037568c15e9da47f017b (patch)
tree1d750a88cab956e4584548883bcb66fb58a69922
parentf37adcd1c0240361a38438a6349b09e1b81a729a (diff)
#730: Copiar OpenGnsys 1.1.0 en rama {{{tags/opengnsys-1.1.0}}}
git-svn-id: https://opengnsys.es/svn/trunk@5607 a21b9725-9963-47de-94b9-378ad31fedc9
-rwxr-xr-xinstaller/opengnsys_import.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/installer/opengnsys_import.sh b/installer/opengnsys_import.sh
index 6f15ed90..e3a04c17 100755
--- a/installer/opengnsys_import.sh
+++ b/installer/opengnsys_import.sh
@@ -231,7 +231,8 @@ 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_URL="https://$OPENGNSYS_SERVER/svn/tags/opengnsys-$NEWVERSION/admin/Database"
+ [[ "$NEWVERSION" =~ pre ]] && 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