From 16f70d8389e34061e979e37190fde24a180c8cea Mon Sep 17 00:00:00 2001 From: Nikolaus Krismer <niko@krismer.de> Date: Wed, 11 Dec 2013 17:48:19 +0100 Subject: [PATCH] preparations for nexus rpm compatibility --- etc/vagrant/bootstrap.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/etc/vagrant/bootstrap.sh b/etc/vagrant/bootstrap.sh index 9c0a71d7..46ca5cf7 100644 --- a/etc/vagrant/bootstrap.sh +++ b/etc/vagrant/bootstrap.sh @@ -57,7 +57,8 @@ NEO4J_VERSION=2.0.0 NEO4J_FILE=neo4j-community-$NEO4J_VERSION-unix.tar.gz NEO4J_SERVICE_NAME=neo4j-service NEO4J_SPATIAL_VERSION=0.11-neo4j-1.9 -NEXUS_REPO=https://server.krismer.de/nexus/content/repositories/releases +NEXUS_PATH=https://server.krismer.de/nexus/content/repositories/releases +NEXUS_REPO=http://www.krismer.de/files/krismer.repo OSM_BBOX_BZ="top=46.5200 left=11.3000 bottom=46.4500 right=11.3873" OSM_BBOX_IBK="top=47.3592 left=11.3020 bottom=47.2108 right=11.4554" OSM_FILE_AUSTRIA=austria-131201.osm.pbf @@ -80,7 +81,7 @@ REPO_BASE_CONFIG=/etc/yum.repos.d/fedora-updates.repo REPO_RPMFORGE_CONFIG=/etc/yum.repos.d/rpmforge.repo TABLE_PREFIX_BZ=bz_ TABLE_PREFIX_IBK=ibk_ -TEMPLATE_PROJECT_FILE=$NEXUS_REPO/de/krismer/CanIGet2/0.1/CanIGet2-0.1.war +TEMPLATE_PROJECT_FILE=$NEXUS_PATH/de/krismer/CanIGet2/0.1/CanIGet2-0.1.war TOMCAT_USER=tomcat TOMCAT_VERSION=7 TOPOLOGY_TOLERANCE=0.0005 @@ -232,6 +233,10 @@ mkdir -p $DOWNLOAD_DIR echo "Configuring timezone" cp /usr/share/zoneinfo/Europe/Vienna /etc/localtime > setup_timezone.log 2>&1 +#echo "Installing krismer repository" +#fn_download_newer $DOWNLOAD_DIR/krismer.repo $NEXUS_REPO +#cp $DOWNLOAD_DIR/krismer.repo /etc/yum.repos.d > install_krismer_repo.log 2>&1 + if $INSTALL_POSTGRES; then if [ $DISTRI == "CentOS" ]; then sed -i 's/\[base\]/\[base\]\nexclude=postgresql\*/' $REPO_BASE_CONFIG -- GitLab