| #******************************************************************************* |
| # Copyright (c) 2009 Tasktop Technologies and others. |
| # All rights reserved. This program and the accompanying materials |
| # are made available under the terms of the Eclipse Public License v1.0 |
| # which accompanies this distribution, and is available at |
| # http://www.eclipse.org/legal/epl-v10.html |
| # |
| # Contributors: |
| # Tasktop Technologies - initial API and implementation |
| #******************************************************************************* |
| #!/bin/sh -e |
| |
| ROOT=$HOME/downloads/tools/mylyn/update |
| |
| echo "Updating site mirrors" |
| #sed -i -e 's/<site pack200=\"true\">/<site pack200=\"true\" mirrorsURL="http:\/\/www.eclipse.org\/downloads\/download.php?file=\/tools\/mylyn\/update\/e3.3\/site.xml\&protocol=http\&format=xml">/' $ROOT/e3.3/site.xml |
| sed -i -e 's/<site pack200=\"true\">/<site pack200=\"true\" mirrorsURL="http:\/\/www.eclipse.org\/downloads\/download.php?file=\/tools\/mylyn\/update\/e3.4\/site.xml\&protocol=http\&format=xml">/' $ROOT/e3.4/site.xml |
| sed -i -e 's/<site pack200=\"true\">/<site pack200=\"true\" mirrorsURL="http:\/\/www.eclipse.org\/downloads\/download.php?file=\/tools\/mylyn\/update\/e3.4\/categories.xml\&protocol=http\&format=xml">/' $ROOT/e3.4/categories.xml |
| sed -i -e 's/<site pack200=\"true\">/<site pack200=\"true\" mirrorsURL="http:\/\/www.eclipse.org\/downloads\/download.php?file=\/tools\/mylyn\/update\/incubator\/site.xml\&protocol=http\&format=xml">/' $ROOT/incubator/site.xml |
| sed -i -e 's/<site pack200=\"true\">/<site pack200=\"true\" mirrorsURL="http:\/\/www.eclipse.org\/downloads\/download.php?file=\/tools\/mylyn\/update\/incubator\/categories.xml\&protocol=http\&format=xml">/' $ROOT/incubator/categories.xml |
| |
| echo |
| echo "Done" |