- avoid missing or duplicate .pem extension
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Mar 2010 10:32:14 +0000 (10:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ca-certificates-etc-certs.patch -> 1.8

ca-certificates-etc-certs.patch

index 41c2c4352fcec29c7c34da300045dc9ab522f51f..85fb96735815862890f5a41db4c3136f25e0edbe 100644 (file)
@@ -24,7 +24,7 @@
  add() {
    CERT="$1"
 -  PEM="$ETCCERTSDIR/$(basename "$CERT" .crt | sed -e 's/ /_/g' \
-+  PEM="$ETCCERTSDIR/$(basename "$CERT" | sed -e 's/.crt$/.pem/' -e 's/ /_/g' \
++  PEM="$ETCCERTSDIR/$(basename "$CERT" .pem | sed -e 's/.crt$/.pem/' -e 's/ /_/g' \
                                                    -e 's/[()]/=/g' \
                                                    -e 's/,/_/g').pem"
    if ! test -e "$PEM" || [ "$(readlink "$PEM")" != "$CERT" ]
@@ -33,7 +33,7 @@
  remove() {
    CERT="$1"
 -  PEM="$ETCCERTSDIR/$(basename "$CERT" .crt).pem"
-+  PEM="$ETCCERTSDIR/$(basename "$CERT" | sed 's/.crt$/.pem/')"
++  PEM="$ETCCERTSDIR/$(basename "$CERT" .pem | sed 's/.crt$/.pem/').pem"
    if test -L "$PEM"
    then
      rm -f "$PEM"
This page took 0.052453 seconds and 4 git commands to generate.