diff options
Diffstat (limited to 'net-p2p/azureus/files/azureus-2.4.0.2-pre')
-rw-r--r-- | net-p2p/azureus/files/azureus-2.4.0.2-pre | 60 |
1 files changed, 0 insertions, 60 deletions
diff --git a/net-p2p/azureus/files/azureus-2.4.0.2-pre b/net-p2p/azureus/files/azureus-2.4.0.2-pre deleted file mode 100644 index d725445ba7c4..000000000000 --- a/net-p2p/azureus/files/azureus-2.4.0.2-pre +++ /dev/null @@ -1,60 +0,0 @@ -#! /bin/bash -# -# Copyright (c) 2005, Petteri Räty <betelgeuse@gentoo.org> -# Copyright (c) 2004, Jochen Maes <sejo@gentoo.org> -# Copyright (c) 2004, Karl Trygve Kalleberg <karltk@gentoo.org> -# Copyright (c) 2004, Gentoo Foundation -# -# Licensed under the GNU General Public License, v2 - -# The Azureus config dir has moved -olddotazudir="${HOME}/.Azureus" -oldgentoocfg="${olddotazudir}/gentoo.config" -dotazudir="${HOME}/.azureus" -gentoocfg="${dotazudir}/gentoo.config" - -if [[ -f "${oldgentoocfg}" && -f "${gentoocfg}" ]]; then - cat > /dev/stderr <<END -You have gentoo.config files in both -${dotazudir} and -${olddotazudir} -${olddotazudir} is deprecated and you can delete this directory. - -END -fi - -if [[ -f "${gentoocfg}" ]] ; then - . "${gentoocfg}" - echo "using ${gentoocfg}" -elif [[ -f "${oldgentoocfg}" ]]; then - . "${oldgentoocfg}" - echo "using ${oldgentoocfg}" -else - if [[ ! -e "${dotazudir}" ]] ; then - mkdir "${dotazudir}" - echo "Creating ${dotazudir}" - fi - - # Setup defaults - UI="swt" - - echo "Creating ${gentoocfg}" - - # Create the config file - cat > "${gentoocfg}" <<END -# User Interface options: -# console - console based -# swt - swt (GUI) based -UI="${UI}" - -# Options you want to pass to the java binary -JAVA_OPTIONS="" -END - -fi - -if [[ -n "${UI_OPTIONS}" ]]; then - echo '${UI_OPTIONS} is no longer supported. ${UI} should be used instead instead' > /dev/stderr - echo 'Unsetting ${UI_OPTIONS}' - unset UI_OPTIONS -fi |