From 995d43db7206316c875840a1527048adfb4f6c61 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 24 May 2005 22:00:23 +0000 Subject: make sure the config file is setup properly #93809 by Andreas Simon. Package-Manager: portage-2.0.51.22-r1 --- app-misc/ca-certificates/Manifest | 2 +- app-misc/ca-certificates/ca-certificates-20050518.ebuild | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) (limited to 'app-misc/ca-certificates') diff --git a/app-misc/ca-certificates/Manifest b/app-misc/ca-certificates/Manifest index 76f04e12edcd..97ae70a9c57a 100644 --- a/app-misc/ca-certificates/Manifest +++ b/app-misc/ca-certificates/Manifest @@ -1,4 +1,4 @@ -MD5 507824943e5aa97c4c40b9de45f65d15 ca-certificates-20050518.ebuild 766 +MD5 98f533708f605d83e0f1975193f97d04 ca-certificates-20050518.ebuild 950 MD5 20e18d63654f038523ff736110f43004 ChangeLog 368 MD5 9a09f8d531c582e78977dbfd96edc1f2 metadata.xml 164 MD5 5ab224de35ee8b2ca0944f8e23bcb229 files/digest-ca-certificates-20050518 76 diff --git a/app-misc/ca-certificates/ca-certificates-20050518.ebuild b/app-misc/ca-certificates/ca-certificates-20050518.ebuild index 7610a19b4997..b384e90f8989 100644 --- a/app-misc/ca-certificates/ca-certificates-20050518.ebuild +++ b/app-misc/ca-certificates/ca-certificates-20050518.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20050518.ebuild,v 1.1 2005/05/23 23:57:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/ca-certificates/ca-certificates-20050518.ebuild,v 1.2 2005/05/24 22:00:23 vapier Exp $ inherit eutils @@ -26,4 +26,11 @@ src_unpack() { src_install() { cd "${D}" tar zxf "${S}"/data.tar.gz || die "installing data failed" + find "${D}"/usr/share/ca-certificates -name '*.crt' -printf '%P\n' \ + | sort > etc/ca-certificates.conf +} + +pkg_postinst() { + [[ ${ROOT} != "/" ]] && return 0 + update-ca-certificates } -- cgit v1.2.3-65-gdbad