aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-03-12 18:06:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-03-12 18:06:01 +0000
commit8ade11415364ba4c2cfb220a4732281709906bee (patch)
tree77e6820524723e7958218c8047933a02da50e118
parentc50ec9a00037262f561e677d6dfc9733e5e174a9 (diff)
downloadaports-8ade11415364ba4c2cfb220a4732281709906bee.tar.gz
aports-8ade11415364ba4c2cfb220a4732281709906bee.tar.bz2
aports-8ade11415364ba4c2cfb220a4732281709906bee.tar.xz
extra/ca-certificates: new style post-install script
-rw-r--r--extra/ca-certificates/APKBUILD6
-rw-r--r--extra/ca-certificates/ca-certificates.install11
-rw-r--r--extra/ca-certificates/ca-certificates.post-install5
3 files changed, 8 insertions, 14 deletions
diff --git a/extra/ca-certificates/APKBUILD b/extra/ca-certificates/APKBUILD
index 1ff7a0f478..f4d33e8db6 100644
--- a/extra/ca-certificates/APKBUILD
+++ b/extra/ca-certificates/APKBUILD
@@ -1,12 +1,12 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ca-certificates
pkgver=20080809
-pkgrel=0
+pkgrel=1
pkgdesc="Common CA certificates PEM files"
url="http://packages.debian.org/sid/ca-certificates"
license="MPL GPL"
depends="run-parts openssl"
-install=ca-certificates.install
+install=ca-certificates.post-install
source="http://ftp.no.debian.org/debian/pool/main/c/$pkgname/${pkgname}_${pkgver}_all.deb
$pkgname-20080514-warn-on-bad-symlinks.patch
$install
@@ -31,4 +31,4 @@ build () {
}
md5sums="3c44f9c232c2335da26d969c716af44d ca-certificates_20080809_all.deb
fda24bd37c6cd55b9dd2ea7ef7b59778 ca-certificates-20080514-warn-on-bad-symlinks.patch
-91f1c902b1065cddcd5d58bdcbb3ad7b ca-certificates.install"
+83a92f371137ac9f046c94452bf17058 ca-certificates.post-install"
diff --git a/extra/ca-certificates/ca-certificates.install b/extra/ca-certificates/ca-certificates.install
deleted file mode 100644
index 5e27fe0e60..0000000000
--- a/extra/ca-certificates/ca-certificates.install
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/sh
-post_install() {
- usr/sbin/update-ca-certificates --fresh &> /dev/null
-}
-
-case "$i" in
- post_install|post_upgrade)
- post_install
- ;;
-esac
-exit 0;
diff --git a/extra/ca-certificates/ca-certificates.post-install b/extra/ca-certificates/ca-certificates.post-install
new file mode 100644
index 0000000000..439cfca52e
--- /dev/null
+++ b/extra/ca-certificates/ca-certificates.post-install
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+/usr/sbin/update-ca-certificates --fresh &> /dev/null
+
+exit 0;