- really avoid duplicate ext
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 23 Mar 2010 10:38:45 +0000 (10:38 +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.9

ca-certificates-etc-certs.patch

index 85fb96735815862890f5a41db4c3136f25e0edbe..36c56f3434bf290ae7eda48f6e9c98df660b910b 100644 (file)
@@ -24,7 +24,7 @@
  add() {
    CERT="$1"
 -  PEM="$ETCCERTSDIR/$(basename "$CERT" .crt | sed -e 's/ /_/g' \
-+  PEM="$ETCCERTSDIR/$(basename "$CERT" .pem | sed -e 's/.crt$/.pem/' -e 's/ /_/g' \
++  PEM="$ETCCERTSDIR/$(basename "$CERT" .pem | sed -e 's/.crt$//' -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" .pem | sed 's/.crt$/.pem/').pem"
++  PEM="$ETCCERTSDIR/$(basename "$CERT" .pem | sed 's/.crt$//').pem"
    if test -L "$PEM"
    then
      rm -f "$PEM"
This page took 0.026351 seconds and 4 git commands to generate.