- preserve timestamps
[packages/ca-certificates.git] / ca-certificates-DESTDIR.patch
1 --- ca-certificates-20090814/sbin/update-ca-certificates~       2010-05-05 14:10:46.000000000 +0300
2 +++ ca-certificates-20090814/sbin/update-ca-certificates        2010-05-05 14:10:52.783355044 +0300
3 @@ -23,6 +23,7 @@
4  
5  verbose=0
6  fresh=0
7 +DESTDIR=
8  while [ $# -gt 0 ];
9  do
10    case $1 in
11 @@ -30,6 +31,8 @@
12         verbose=1;;
13    --fresh|-f)
14         fresh=1;;
15 +  --destdir)
16 +       DESTDIR=$2; shift;;
17    --help|-h|*)
18         echo "$0: [--verbose] [--fresh]"
19         exit;;
20 @@ -37,11 +40,11 @@
21    shift
22  done
23  
24 -CERTSCONF=/etc/ca-certificates.conf
25 -CERTSDIR=/usr/share/ca-certificates
26 -LOCALCERTSDIR=/etc/certs
27 -CERTBUNDLE=/etc/certs/ca-certificates.crt
28 -ETCCERTSDIR=@openssldir@
29 +CERTSCONF=$DESTDIR/etc/ca-certificates.conf
30 +CERTSDIR=$DESTDIR/usr/share/ca-certificates
31 +LOCALCERTSDIR=$DESTDIR/etc/certs
32 +CERTBUNDLE=$DESTDIR/etc/certs/ca-certificates.crt
33 +ETCCERTSDIR=$DESTDIR@openssldir@
34  
35  cleanup() {
36    rm -f "$TEMPBUNDLE"
This page took 0.037557 seconds and 3 git commands to generate.