Fix postrm for multi libraries
authorAlon Bar-Lev <alonbl@gentoo.org>
Thu, 15 Feb 2007 19:33:02 +0000 (19:33 +0000)
committerAlon Bar-Lev <alonbl@gentoo.org>
Thu, 15 Feb 2007 19:33:02 +0000 (19:33 +0000)
Package-Manager: portage-2.1.2-r9

app-crypt/asedriveiiie-serial/ChangeLog
app-crypt/asedriveiiie-serial/asedriveiiie-serial-3.4.ebuild
app-crypt/asekey/ChangeLog
app-crypt/asekey/asekey-3.3.ebuild

index ed0ad858621cebc74f50503f231b656b9801cdc0..00b1709ef2b9603776a8676d26702bd5c4e585e1 100644 (file)
@@ -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:
index c77d3d5776cce8a5e095efc560af2d35c2409517..f3d31a5f3ba948517d5cef0548a6fe4b8f4319e5 100644 (file)
@@ -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:"
index f3db8080a8f7dbfb71a146f4bdf1449813670a14..9aaaaf6598c084bd76722406530393697bb38d23 100644 (file)
@@ -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 <alonbl@gentoo.org> asekey-3.3.ebuild:
+  Fix postrm for multi libraries
 
   14 Feb 2007; Alon Bar-Lev <alonbl@gentoo.org> asekey-3.3.ebuild:
   Fixup for pcsc-lite-1.4
index 8ba2014a7d3930bf1f66e8251578cfab650c9b73..d1671b01f5e9bb7ca6d6278bf54b5aa322f935c5 100644 (file)
@@ -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:"