Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/tfm-fingerprint: tfm-fingerprint-1.0.ebuild
Date: Wed, 27 Feb 2008 10:59:27
Message-Id: E1JUK0S-0000OK-V2@stork.gentoo.org
1 vapier 08/02/27 10:59:24
2
3 Modified: tfm-fingerprint-1.0.ebuild
4 Log:
5 fix old bug: uninstalling with mod_install takes filename, not full path
6 (Portage version: 2.2_pre2)
7
8 Revision Changes Path
9 1.3 sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild?r1=1.2&r2=1.3
14
15 Index: tfm-fingerprint-1.0.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- tfm-fingerprint-1.0.ebuild 27 Feb 2008 10:40:13 -0000 1.2
22 +++ tfm-fingerprint-1.0.ebuild 27 Feb 2008 10:59:24 -0000 1.3
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2008 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild,v 1.2 2008/02/27 10:40:13 vapier Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/sys-auth/tfm-fingerprint/tfm-fingerprint-1.0.ebuild,v 1.3 2008/02/27 10:59:24 vapier Exp $
28
29 inherit multilib
30
31 @@ -35,6 +35,9 @@
32 elog "Note: You have to be in the group usb to access the fingerprint device."
33 }
34
35 -pkg_prerm() {
36 - doit_with_ewarn mod_install -fu /usr/$(get_libdir)/libtfmessbsp.so
37 +pkg_postrm() {
38 + # only do this if uninstalling
39 + if ! has_version ${CATEGORY}/${PN} ; then
40 + doit_with_ewarn mod_install -fu libtfmessbsp.so
41 + fi
42 }
43
44
45
46 --
47 gentoo-commits@l.g.o mailing list