summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-02-15 19:33:02 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-02-15 19:33:02 +0000
commit50c6f381557c7f5c4ae5923d65739b682e6d27a6 (patch)
treee7c02ce2381737a9771ebf79591aab43b37f7447 /app-crypt
parentFix postrm for multi libraries (diff)
downloadgentoo-2-50c6f381557c7f5c4ae5923d65739b682e6d27a6.tar.gz
gentoo-2-50c6f381557c7f5c4ae5923d65739b682e6d27a6.tar.bz2
gentoo-2-50c6f381557c7f5c4ae5923d65739b682e6d27a6.zip
Fix postrm for multi libraries
(Portage version: 2.1.2-r9)
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/asedriveiiie-serial/ChangeLog6
-rw-r--r--app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.4.ebuild4
2 files changed, 7 insertions, 3 deletions
diff --git a/app-crypt/asedriveiiie-serial/ChangeLog b/app-crypt/asedriveiiie-serial/ChangeLog
index ed0ad858621c..00b1709ef2b9 100644
--- a/app-crypt/asedriveiiie-serial/ChangeLog
+++ b/app-crypt/asedriveiiie-serial/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/asedriveiiie-serial
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/asedriveiiie-serial/ChangeLog,v 1.3 2007/02/14 20:58:00 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/asedriveiiie-serial/ChangeLog,v 1.4 2007/02/15 19:33:02 alonbl Exp $
+
+ 15 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org>
+ asedriveiiie-serial-3.4.ebuild:
+ Fix postrm for multi libraries
14 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org>
asedriveiiie-serial-3.4.ebuild:
diff --git a/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.4.ebuild b/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.4.ebuild
index c77d3d5776cc..f3d31a5f3ba9 100644
--- a/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.4.ebuild
+++ b/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.4.ebuild,v 1.3 2007/02/14 20:58:00 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.4.ebuild,v 1.4 2007/02/15 19:33:02 alonbl Exp $
DESCRIPTION="ASEDriveIIIe Serial Card Reader"
HOMEPAGE="http://www.athena-scs.com"
@@ -47,7 +47,7 @@ pkg_postrm() {
# Without this, pcscd will not start next time.
#
local conf="/etc/reader.conf.d/${PN}.conf"
- if ! [ -f "$(grep LIBPATH "${conf}" | sed 's/LIBPATH *//' | sed 's/ *$//g')" ]; then
+ if ! [ -f "$(grep LIBPATH "${conf}" | sed 's/LIBPATH *//' | sed 's/ *$//g' | head -n 1)" ]; then
rm "${conf}"
update-reader.conf
elog "NOTICE:"