summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 16:57:59 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-03-07 16:57:59 +0000
commit2b5435198a2b39861286b229394959acc6f55d7d (patch)
tree4885cd407c1ecc2f6602db739a3b8b4c5f9af9bf /games-fps/ut2003
parentChange all instances of [ to [[. (diff)
downloadgentoo-2-2b5435198a2b39861286b229394959acc6f55d7d.tar.gz
gentoo-2-2b5435198a2b39861286b229394959acc6f55d7d.tar.bz2
gentoo-2-2b5435198a2b39861286b229394959acc6f55d7d.zip
Change all instances of [ to [[.
(Portage version: 2.1.2.1)
Diffstat (limited to 'games-fps/ut2003')
-rw-r--r--games-fps/ut2003/ChangeLog5
-rw-r--r--games-fps/ut2003/ut2003-2225-r4.ebuild14
2 files changed, 11 insertions, 8 deletions
diff --git a/games-fps/ut2003/ChangeLog b/games-fps/ut2003/ChangeLog
index 564cf758b3d2..7fd8cdc9619c 100644
--- a/games-fps/ut2003/ChangeLog
+++ b/games-fps/ut2003/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-fps/ut2003
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ChangeLog,v 1.42 2007/02/22 00:41:13 peper Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ChangeLog,v 1.43 2007/03/07 16:57:59 wolf31o2 Exp $
+
+ 07 Mar 2007; Chris Gianelloni <wolf31o2@gentoo.org> ut2003-2225-r4.ebuild:
+ Change all instances of [ to [[.
22 Feb 2007; Piotr Jaroszyński <peper@gentoo.org> ChangeLog:
Transition to Manifest2.
diff --git a/games-fps/ut2003/ut2003-2225-r4.ebuild b/games-fps/ut2003/ut2003-2225-r4.ebuild
index 6c95f396f700..457cd4b7a9b2 100644
--- a/games-fps/ut2003/ut2003-2225-r4.ebuild
+++ b/games-fps/ut2003/ut2003-2225-r4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ut2003-2225-r4.ebuild,v 1.10 2006/10/03 20:25:01 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-fps/ut2003/ut2003-2225-r4.ebuild,v 1.11 2007/03/07 16:57:59 wolf31o2 Exp $
inherit eutils games
@@ -48,12 +48,12 @@ pkg_postinst() {
# here is where we check for the existence of a cdkey...
# if we don't find one, we ask the user for it
- if [ -f ${dir}/System/cdkey ]; then
+ if [[ -f ${dir}/System/cdkey ]] ; then
einfo "A cdkey file is already present in ${dir}/System"
else
ewarn "You MUST run this before playing the game:"
ewarn "emerge --config =${CATEGORY}/${PF}"
- ewarn "That way you can [re]enter your cdkey."
+ ewarn "That way you can (re)enter your cdkey."
fi
echo
einfo "To play the game run:"
@@ -82,11 +82,11 @@ pkg_config() {
read CDKEY1
einfo "Please re-enter your CD key:"
read CDKEY2
- if [ "$CDKEY1" == "" ] ; then
+ if [[ "${CDKEY1}" == "" ]] ; then
echo "You entered a blank CD key. Try again."
else
- if [ "$CDKEY1" == "$CDKEY2" ] ; then
- echo "$CDKEY1" | tr a-z A-Z > ${dir}/System/cdkey
+ if [[ "${CDKEY1}" == "${CDKEY2}" ]] ; then
+ echo "${CDKEY1}" | tr a-z A-Z > ${dir}/System/cdkey
einfo "Thank you!"
chown games:games ${dir}/System/cdkey
break