From 779d421b8542375da9ea4c223cc239c9ae99f5d6 Mon Sep 17 00:00:00 2001 From: Alon Bar-Lev Date: Thu, 15 Feb 2007 19:33:02 +0000 Subject: [PATCH] Fix postrm for multi libraries Package-Manager: portage-2.1.2-r9 --- app-crypt/asedriveiiie-serial/ChangeLog | 6 +++++- .../asedriveiiie-serial/asedriveiiie-serial-3.4.ebuild | 4 ++-- app-crypt/asekey/ChangeLog | 5 ++++- app-crypt/asekey/asekey-3.3.ebuild | 4 ++-- 4 files changed, 13 insertions(+), 6 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 + asedriveiiie-serial-3.4.ebuild: + Fix postrm for multi libraries 14 Feb 2007; Alon Bar-Lev 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:" diff --git a/app-crypt/asekey/ChangeLog b/app-crypt/asekey/ChangeLog index f3db8080a8f7..9aaaaf6598c0 100644 --- a/app-crypt/asekey/ChangeLog +++ b/app-crypt/asekey/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-crypt/asekey # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/asekey/ChangeLog,v 1.3 2007/02/14 20:55:46 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/asekey/ChangeLog,v 1.4 2007/02/15 19:31:29 alonbl Exp $ + + 15 Feb 2007; Alon Bar-Lev asekey-3.3.ebuild: + Fix postrm for multi libraries 14 Feb 2007; Alon Bar-Lev asekey-3.3.ebuild: Fixup for pcsc-lite-1.4 diff --git a/app-crypt/asekey/asekey-3.3.ebuild b/app-crypt/asekey/asekey-3.3.ebuild index 8ba2014a7d39..d1671b01f5e9 100644 --- a/app-crypt/asekey/asekey-3.3.ebuild +++ b/app-crypt/asekey/asekey-3.3.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/asekey/asekey-3.3.ebuild,v 1.3 2007/02/14 20:55:46 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/asekey/asekey-3.3.ebuild,v 1.4 2007/02/15 19:31:29 alonbl Exp $ DESCRIPTION="ASEKey USB SIM Card Reader" HOMEPAGE="http://www.athena-scs.com" @@ -46,7 +46,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:" -- 2.26.2