diff options
Diffstat (limited to 'dev-util/eclipse-sdk/files/eclipse-3.2')
-rw-r--r-- | dev-util/eclipse-sdk/files/eclipse-3.2 | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/dev-util/eclipse-sdk/files/eclipse-3.2 b/dev-util/eclipse-sdk/files/eclipse-3.2 deleted file mode 100644 index 0859cd52a485..000000000000 --- a/dev-util/eclipse-sdk/files/eclipse-3.2 +++ /dev/null @@ -1,36 +0,0 @@ -#! /bin/bash -# -# Tiny startup wrapper for the Eclipse 3.2.x series -# -# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org> -# Copyright (c) 2004, Gentoo Foundation -# -# Licensed under the GNU General Public License, version 2 -# - -[[ -f $HOME/.eclipserc ]] && source $HOME/.eclipserc - -ECLIPSE_HOME=${ECLIPSE_HOME:="/usr/lib/eclipse-3.2"} -ECLIPSE_BIN="${ECLIPSE_HOME}/eclipse" - -if [ ! -x ${ECLIPSE_BIN} ] ; then - echo "Failed to find executable '${ECLIPSE_BIN}'" > /dev/stderr - exit -1 -fi - -if [ $(whoami) == "root" ] ; then - echo "!!! You are running Eclipse as root. Be advised that this will modify the contents of" - echo "!!! /usr/lib/eclipse-3.2, and that such a modification may prevent you from safely" - echo "!!! upgrading to later 3.2 revisions." - echo - echo "!!! To ensure correct behavior on your next upgrade, do:" - echo "!!! 1) 'emerge unmerge \"=eclipse-sdk-3.2\"'" - echo "!!! 2) 'rm -rf /usr/lib/eclipse-3.2'" - echo "!!! 3) 'emerge eclipse-sdk'" -fi - -if [[ -d /usr/lib/gecko-sdk/lib/ ]] && [[ -f /usr/lib/gecko-sdk/lib/libgtkembedmoz.so ]] ; then - export MOZILLA_FIVE_HOME="/usr/lib/gecko-sdk/lib/" -fi - -exec ${ECLIPSE_BIN} "$@" |