summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2007-02-15 19:38:06 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2007-02-15 19:38:06 +0000
commitd8f402206f5b59e96b5d8c4630d5657a013fd195 (patch)
tree6d4c361caf354488088568c7bff4498d29e72a54 /sys-apps/pcsc-slb-rf72-drv
parentFix postrm for multi libraries (diff)
downloadgentoo-2-d8f402206f5b59e96b5d8c4630d5657a013fd195.tar.gz
gentoo-2-d8f402206f5b59e96b5d8c4630d5657a013fd195.tar.bz2
gentoo-2-d8f402206f5b59e96b5d8c4630d5657a013fd195.zip
Fix postrm for multi libraries
(Portage version: 2.1.2-r9)
Diffstat (limited to 'sys-apps/pcsc-slb-rf72-drv')
-rw-r--r--sys-apps/pcsc-slb-rf72-drv/ChangeLog8
-rw-r--r--sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r1.ebuild6
2 files changed, 9 insertions, 5 deletions
diff --git a/sys-apps/pcsc-slb-rf72-drv/ChangeLog b/sys-apps/pcsc-slb-rf72-drv/ChangeLog
index 004a81e77454..dffe4ddcc77f 100644
--- a/sys-apps/pcsc-slb-rf72-drv/ChangeLog
+++ b/sys-apps/pcsc-slb-rf72-drv/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/pcsc-slb-rf72-drv
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-slb-rf72-drv/ChangeLog,v 1.5 2006/10/07 11:28:45 alonbl Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-slb-rf72-drv/ChangeLog,v 1.6 2007/02/15 19:38:06 alonbl Exp $
+
+ 15 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org>
+ pcsc-slb-rf72-drv-1.1.0-r1.ebuild:
+ Fix postrm for multi libraries
*pcsc-slb-rf72-drv-1.1.0-r1 (07 Oct 2006)
diff --git a/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r1.ebuild b/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r1.ebuild
index 09080e594242..5544256c386d 100644
--- a/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r1.ebuild
+++ b/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r1.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/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r1.ebuild,v 1.1 2006/10/07 11:28:45 alonbl Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/pcsc-slb-rf72-drv/pcsc-slb-rf72-drv-1.1.0-r1.ebuild,v 1.2 2007/02/15 19:38:06 alonbl Exp $
inherit eutils
@@ -50,7 +50,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
einfo "NOTICE:"