The following commit has been merged in the master branch:
commit 8a44df71e36973a2323b14488e0d9c2741f8a207
Author: Jakub Adam <jakub.a...@ktknet.cz>
Date:   Fri Dec 30 16:32:00 2011 +0100

    Fixed update site injection and changed URL to Indigo update site

diff --git a/debian/changelog b/debian/changelog
index 5a32110..97fce2a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ eclipse (3.7.1-1) UNRELEASED; urgency=low
   * Add Jakub Adam to Uploaders
   * Depend on libjasper-java >= 5.5.33-2 (Closes: #648641)
   * Removed GDK_NATIVE_WINDOWS=true workaround
+  * Fixed update site injection on first Eclipse startup and changed
+    URL to Indigo update site
 
  -- Jakub Adam <jakub.a...@ktknet.cz>  Tue, 27 Dec 2011 01:04:14 +0100
 
diff --git a/debian/extra/eclipse b/debian/extra/eclipse
index 3d4368a..ab12b32 100644
--- a/debian/extra/eclipse
+++ b/debian/extra/eclipse
@@ -8,10 +8,10 @@ inject_update_site(){
        return 1
     fi
     cat - >>"$1" <<EOF
-repositories/http\:__download.eclipse.org_releases_helios/enabled=true
-repositories/http\:__download.eclipse.org_releases_helios/isSystem=false
-repositories/http\:__download.eclipse.org_releases_helios/nickname=Helios 
Update Site
-repositories/http\:__download.eclipse.org_releases_helios/uri=http\://download.eclipse.org/releases/helios/
+repositories/http\:__download.eclipse.org_releases_indigo/enabled=true
+repositories/http\:__download.eclipse.org_releases_indigo/isSystem=false
+repositories/http\:__download.eclipse.org_releases_indigo/nickname=Indigo 
Update Site
+repositories/http\:__download.eclipse.org_releases_indigo/uri=http\://download.eclipse.org/releases/indigo/
 EOF
 
 }
@@ -20,9 +20,9 @@ EOF
 if [ ! -d ~/.eclipse/ ] ; then
     $ECLIPSE -clean -initialize || exit $?
     artifact=$(find ~/.eclipse \
-        -name org.eclipse.equinox.p2.artifact.repository.prefs)
+        -regex 
.*/profileRegistry/.*/org.eclipse.equinox.p2.artifact.repository.prefs)
     metadata=$(find ~/.eclipse \
-        -name org.eclipse.equinox.p2.metadata.repository.prefs)
+        -regex 
.*/profileRegistry/.*/org.eclipse.equinox.p2.metadata.repository.prefs)
     if [ -z "$artifact" ] || [ -z "$metadata" ]; then
        echo "W: Cannot inject update-sites, cannot find the correct config." 
2>&1
     else

-- 
eclipse - Powerful IDE written in java - Debian package.

_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to