diff options
author | Mark Guertin <gerk@gentoo.org> | 2003-02-12 03:04:03 +0000 |
---|---|---|
committer | Mark Guertin <gerk@gentoo.org> | 2003-02-12 03:04:03 +0000 |
commit | 62158da9ab75171c1e4fe1a9c3ced9e9d321fd48 (patch) | |
tree | 950b27a970e1629ddf945a8145f1330c48f97c16 /app-admin | |
parent | new perl module for mythtv (diff) | |
download | gentoo-2-62158da9ab75171c1e4fe1a9c3ced9e9d321fd48.tar.gz gentoo-2-62158da9ab75171c1e4fe1a9c3ced9e9d321fd48.tar.bz2 gentoo-2-62158da9ab75171c1e4fe1a9c3ced9e9d321fd48.zip |
rev bump, closes bug with small terminals
Diffstat (limited to 'app-admin')
-rw-r--r-- | app-admin/mirrorselect/ChangeLog | 7 | ||||
-rw-r--r-- | app-admin/mirrorselect/files/digest-mirrorselect-0.1-r2 | 0 | ||||
-rw-r--r-- | app-admin/mirrorselect/files/mirrorselect | 8 | ||||
-rw-r--r-- | app-admin/mirrorselect/mirrorselect-0.1-r2.ebuild | 20 |
4 files changed, 34 insertions, 1 deletions
diff --git a/app-admin/mirrorselect/ChangeLog b/app-admin/mirrorselect/ChangeLog index 62e808b022d5..bf5b781cfdcc 100644 --- a/app-admin/mirrorselect/ChangeLog +++ b/app-admin/mirrorselect/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-admin/mirrorselect # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/mirrorselect/ChangeLog,v 1.4 2003/02/12 02:25:12 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/mirrorselect/ChangeLog,v 1.5 2003/02/12 03:04:03 gerk Exp $ + +*mirrorselect-0.1-r2 (10 Feb 2003) + 10 Feb 2003; Mark Guertin <gerk@gentoo.org> mirrorselect-0.1-r2.ebuild: + Rev bump. Added a santify check for small screens. Older version would + cause garbage to be added to make.conf. Thanks SpanKY. 02 Feb 2003; Mark Guertin <gerk@gentoo.org> mirrorselect-0.1-r1.ebuild: updated to stable for ppc + x86 (have tested quite a bit). diff --git a/app-admin/mirrorselect/files/digest-mirrorselect-0.1-r2 b/app-admin/mirrorselect/files/digest-mirrorselect-0.1-r2 new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/app-admin/mirrorselect/files/digest-mirrorselect-0.1-r2 diff --git a/app-admin/mirrorselect/files/mirrorselect b/app-admin/mirrorselect/files/mirrorselect index 9c6aaf73b13a..b3ca69c1c721 100644 --- a/app-admin/mirrorselect/files/mirrorselect +++ b/app-admin/mirrorselect/files/mirrorselect @@ -8,6 +8,7 @@ # dynamic setup once the lists are in place to pull from MIRROR_LIST=' +ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo (USA) ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo (USA) http://gentoo.oregonstate.edu (USA) ftp://ftp.oregonstate.edu/pub/gentoo (USA/ftp) @@ -63,6 +64,13 @@ if [ ! "`echo $MIRRORS`" ] ; then exit 1 fi +# sanity check if screen is too small, thanks SpanKY + +if [ "`echo $MIRRORS | grep \"Can't make\"`" ] ; then + echo "Error, screen too small. Please use at least 80x24 terminal" + exit 1 +fi + echo "Selected: $MIRRORS" # adjust settings in make.conf, all in one command to avoid complaints of make.conf being moved diff --git a/app-admin/mirrorselect/mirrorselect-0.1-r2.ebuild b/app-admin/mirrorselect/mirrorselect-0.1-r2.ebuild new file mode 100644 index 000000000000..f65911c14d86 --- /dev/null +++ b/app-admin/mirrorselect/mirrorselect-0.1-r2.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/mirrorselect/mirrorselect-0.1-r2.ebuild,v 1.1 2003/02/12 03:04:03 gerk Exp $ + +DESCRIPTION="Tool to help select distfiles mirrors for Gentoo" +SRC_URI="" +HOMEPAGE="" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="x86 ppc ~sparc ~alpha ~mips" + +DEPEND=">=dev-util/dialog-0.7 + sys-apps/grep + sys-apps/sed" + +src_install() { + dosbin ${FILESDIR}/mirrorselect +} + |