summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancesco Riosa <vivo@gentoo.org>2006-02-15 01:42:13 +0000
committerFrancesco Riosa <vivo@gentoo.org>2006-02-15 01:42:13 +0000
commitdfa429b2ba235f111853e5cc529d0656192dd242 (patch)
treef58de26770185aae6f91b5aebdd7ff6606403065 /app-admin/eselect-mysql
parent(#122726) Keyword ~sparc. (diff)
downloadhistorical-dfa429b2ba235f111853e5cc529d0656192dd242.tar.gz
historical-dfa429b2ba235f111853e5cc529d0656192dd242.tar.bz2
historical-dfa429b2ba235f111853e5cc529d0656192dd242.zip
better fix for the previous
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'app-admin/eselect-mysql')
-rw-r--r--app-admin/eselect-mysql/Manifest18
-rw-r--r--app-admin/eselect-mysql/files/mysql.eselect10
2 files changed, 18 insertions, 10 deletions
diff --git a/app-admin/eselect-mysql/Manifest b/app-admin/eselect-mysql/Manifest
index 79002d9c5eeb..d469340c0dba 100644
--- a/app-admin/eselect-mysql/Manifest
+++ b/app-admin/eselect-mysql/Manifest
@@ -1,6 +1,12 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+MD5 15942113d1b3a14f59d60b24f8892efc .links/bookmarks.html 912
+RMD160 dbe6db549bb91ea4286461449c513c8a01a32ff9 .links/bookmarks.html 912
+SHA256 1cc6418b0cc92e6fec97ac48df22ba95a0322ba527cb7ed604a7ed5b24a0adb0 .links/bookmarks.html 912
+MD5 d41d8cd98f00b204e9800998ecf8427e .links/links.his 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 .links/links.his 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 .links/links.his 0
MD5 11276a5ada257e31f18b640c5eee2833 ChangeLog 2189
RMD160 8b4cea0602f265ae3219e1f985aa1d86e3841009 ChangeLog 2189
SHA256 42a4fb007a64f7d081976a16b0b259299a6358d53ce81315014f652dcf7ae3bd ChangeLog 2189
@@ -10,16 +16,16 @@ SHA256 dd6eb2e19cc7ba38e25063fcd6c9705bcfa5cf04f52292372f9618d3d433562e eselect-
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-eselect-mysql-1.0.0-r5 0
RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-eselect-mysql-1.0.0-r5 0
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-eselect-mysql-1.0.0-r5 0
-MD5 470421e8817567ab58fb6d5c1debc094 files/mysql.eselect 9196
-RMD160 ce53cc392df2df98837bb9455b091c479659c50d files/mysql.eselect 9196
-SHA256 5a65c27b94dd2b8040d4c4352951aa88e3ce9f50fc9cf93e0744ba9425993a7c files/mysql.eselect 9196
+MD5 fe927a06480c207dbba85ef604bfceea files/mysql.eselect 9242
+RMD160 ea3abec015090dcac658890e1ff6a146ffac5c0e files/mysql.eselect 9242
+SHA256 dac017112bfea13e08ecbde4f77e282f6c7a2d7b6bae94cc67e501d9a7926042 files/mysql.eselect 9242
MD5 fa97fe3e6f213f79ccf7ffbd53838095 metadata.xml 338
RMD160 73a2e747b9cb92a8a03ab792fcc0aa997b31c8d1 metadata.xml 338
SHA256 6a290284a517ad042ee98313454b6615a0498d59f8dcf428aac3da3da7340065 metadata.xml 338
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFD8mXkKolR564NvWYRAlxJAKCJYZOq8UqWVpXV2Gx/dV84l+23UgCgtgtI
-90fRBu8Sl3xoiCm4MgFVhF8=
-=Yxgr
+iD8DBQFD8ocGKolR564NvWYRAryPAKC2p+Aklm6HBQSEitd2QRIajCS0BgCffE43
+BQrxL/RmPyCyMMmjsqqoIFs=
+=kzEu
-----END PGP SIGNATURE-----
diff --git a/app-admin/eselect-mysql/files/mysql.eselect b/app-admin/eselect-mysql/files/mysql.eselect
index d2094e44327a..ba474b733530 100644
--- a/app-admin/eselect-mysql/files/mysql.eselect
+++ b/app-admin/eselect-mysql/files/mysql.eselect
@@ -1,10 +1,10 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Id: mysql.eselect,v 1.10 2006/02/14 23:20:51 vivo Exp $
+# $Id: mysql.eselect,v 1.11 2006/02/15 01:42:13 vivo Exp $
DESCRIPTION="Manage the /usr/lib/*mysql* links"
MAINTAINER="vivo@gentoo.org"
-SVN_DATE='$Date: 2006/02/14 23:20:51 $'
+SVN_DATE='$Date: 2006/02/15 01:42:13 $'
VERSION=$(svn_date_to_version "${SVN_DATE}" )
MYSQL_SYMLINK_CHECKDIR="${ROOT}/usr/bin"
ERR_NOT_FOUND="(not-found)"
@@ -218,9 +218,11 @@ set_current_version() {
cd "${dir}"
lastdir="${dir}"
fi
- [[ -f "${filename}" ]] || [[ -d "${filename}" ]] \
- || filename="${filename}"
linkname="$(basename "${filename}")"
+ if ! [[ -f "${linkname}" ]] && ! [[ -d "${linkname}" ]] && [[ -f "${linkname}.gz" ]]
+ then
+ linkname="${linkname}.gz"
+ fi
if [[ -a "${linkname}" ]] ; then
# rm needed for directory
rm -f "${linkname/"-${version}"/}" &> /dev/null