summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2007-11-06 22:38:13 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2007-11-06 22:38:13 +0000
commit98a3866058011f7e2ed2030e555576aba2a8615d (patch)
tree14bef528bf4c0ab3c702af83268d2043b0207034 /eclass
parentAdd ~x86-fbsd keyword (bug #197349) (diff)
downloadhistorical-98a3866058011f7e2ed2030e555576aba2a8615d.tar.gz
historical-98a3866058011f7e2ed2030e555576aba2a8615d.tar.bz2
historical-98a3866058011f7e2ed2030e555576aba2a8615d.zip
Remove UT from the comments on games_ut_unpack due to bug #196142.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/games.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 3420884ea37e..5046c73aa8fb 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.122 2007/04/10 01:33:03 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.123 2007/11/06 22:38:13 wolf31o2 Exp $
# devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org
#
@@ -194,7 +194,7 @@ games_pkg_postinst() {
fi
}
-# Unpack .uz(2) files for UT/UT2003/UT2004
+# Unpack .uz2 files for UT2003/UT2004
# $1: directory or file to unpack
games_ut_unpack() {
local ut_unpack="$1"
@@ -208,7 +208,7 @@ games_ut_unpack() {
|| die "uncompressing file ${ut_unpack}"
fi
if [[ -d ${ut_unpack} ]] ; then
- for f in $(find "${ut_unpack}" -name '*.uz*' -printf '%f ') ; do
+ for f in $(find "${ut_unpack}" -name '*.uz2' -printf '%f ') ; do
uz2unpack "${ut_unpack}/${f}" "${ut_unpack}/${f/.uz2}" &>/dev/null \
|| die "uncompressing file ${f}"
rm -f "${ut_unpack}/${f}" || die "deleting compressed file ${f}"