From: Alon Bar-Lev Date: Thu, 15 Feb 2007 19:38:06 +0000 (+0000) Subject: Fix postrm for multi libraries X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=125d0bf2d434235ee05c5c035d42398aeb8c6f48;p=gentoo.git Fix postrm for multi libraries Package-Manager: portage-2.1.2-r9 --- diff --git a/sys-apps/ifd-gempc/ChangeLog b/sys-apps/ifd-gempc/ChangeLog index b9284987eaf6..e6378732013c 100644 --- a/sys-apps/ifd-gempc/ChangeLog +++ b/sys-apps/ifd-gempc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/ifd-gempc -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifd-gempc/ChangeLog,v 1.9 2006/10/07 02:15:01 alonbl Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifd-gempc/ChangeLog,v 1.10 2007/02/15 19:35:52 alonbl Exp $ + + 15 Feb 2007; Alon Bar-Lev ifd-gempc-1.0.1.ebuild: + Fix postrm for multi libraries *ifd-gempc-1.0.1 (07 Oct 2006) diff --git a/sys-apps/ifd-gempc/ifd-gempc-1.0.1.ebuild b/sys-apps/ifd-gempc/ifd-gempc-1.0.1.ebuild index 96846e31918b..30248c665f5a 100644 --- a/sys-apps/ifd-gempc/ifd-gempc-1.0.1.ebuild +++ b/sys-apps/ifd-gempc/ifd-gempc-1.0.1.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/ifd-gempc/ifd-gempc-1.0.1.ebuild,v 1.1 2006/10/07 02:15:01 alonbl Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/ifd-gempc/ifd-gempc-1.0.1.ebuild,v 1.2 2007/02/15 19:35:52 alonbl Exp $ inherit eutils @@ -43,7 +43,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:" 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 + 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:"