ca-certificates: pass correct DESTDIR.

This commit is contained in:
Juan RP 2012-12-12 05:06:08 +01:00
parent 69592748ad
commit b5de13c064
3 changed files with 3 additions and 3 deletions

View file

@ -3,6 +3,6 @@ post)
[ ! -d etc/ca-certificates/update.d ] && \
install -d etc/ca-certificates/update.d
[ ! -d etc/ssl/certs ] && install -d etc/ssl/certs
env DESTDIR=. usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1
env DESTDIR="$(pwd -P)" usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1
;;
esac

View file

@ -4,7 +4,7 @@ pre)
backup=etc/ca-certificates.conf.tmp
mv etc/ca-certificates.conf $backup
echo > etc/ca-certificates.conf
env DESTDIR=. usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1
env DESTDIR="$(pwd -P)" usr/sbin/update-ca-certificates --fresh >/dev/null 2>&1
mv $backup etc/ca-certificates.conf
;;
post)

View file

@ -1,7 +1,7 @@
# Template file for 'ca-certificates'
pkgname=ca-certificates
version=20121105
revision=3
revision=4
noarch=yes
makedepends="python"
fulldepends="openssl run-parts"