]> git.pld-linux.org Git - packages/ca-certificates.git/blobdiff - ca-certificates-etc-certs.patch
rediff patches; rel 3
[packages/ca-certificates.git] / ca-certificates-etc-certs.patch
index 0427ca2e628567d2214b7eae0a4ef1b491a051cc..ecd962356e44372451825ecc8b342d90af6a4317 100644 (file)
@@ -1,7 +1,7 @@
 --- ca-certificates-20140223/sbin/update-ca-certificates~      2014-03-14 12:55:24.000000000 +0200
 +++ ca-certificates-20140223/sbin/update-ca-certificates       2014-03-14 14:38:31.587876211 +0200
-@@ -37,7 +37,7 @@
+@@ -37,8 +37,8 @@
+ default=0
  CERTSCONF=/etc/ca-certificates.conf
  CERTSDIR=/usr/share/ca-certificates
 -LOCALCERTSDIR=/usr/local/share/ca-certificates
@@ -9,7 +9,8 @@
 +LOCALCERTSDIR=/etc/certs
 +CERTBUNDLE=/etc/certs/ca-certificates.crt
  ETCCERTSDIR=@openssldir@
- cd $ETCCERTSDIR
+ HOOKSDIR=/etc/ca-certificates/update.d
 @@ -52,7 +52,7 @@
  
  # Helper files.  (Some of them are not simple arrays because we spawn
    if test -L "$PEM"
    then
      rm -f "$PEM"
-@@ -90,6 +90,7 @@ if [ "$fresh" = 1 ]; then
-   do
-     case $(readlink $symlink) in
-       $CERTSDIR*) rm -f $symlink;;
-+      $LOCALCERTSDIR*) rm -f $symlink;;
-     esac
-   done
-   find . -type l -print | while read symlink
 @@ -111,24 +111,18 @@
  
- sed -e '/^$/d' -e '/^#/d' -e '/^!/d' $CERTSCONF | while read crt
+ sed -e '/^$/d' -e '/^#/d' -e '/^!/d' "$CERTSCONF" | while read crt
  do
 -  if ! test -f "$CERTSDIR/$crt"
 +  if test -f "$CERTSDIR/$crt"
This page took 0.398912 seconds and 4 git commands to generate.