summaryrefslogtreecommitdiff
path: root/package/ca-certificates/extra/update-ca-certificates
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-03-07 05:08:04 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-03-07 06:04:18 +0100
commit49cfe2e14f043fa146cbb95a1ccb416097ac4c7c (patch)
tree777ae2d9c65ffa9f2998087e70d165081d738824 /package/ca-certificates/extra/update-ca-certificates
parent624600e04b0e4a1d6962e6ab7ddebe469bc91c69 (diff)
ca-certificates: update to latest
Diffstat (limited to 'package/ca-certificates/extra/update-ca-certificates')
-rw-r--r--package/ca-certificates/extra/update-ca-certificates4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/ca-certificates/extra/update-ca-certificates b/package/ca-certificates/extra/update-ca-certificates
index f564c54b8..2d7d685cc 100644
--- a/package/ca-certificates/extra/update-ca-certificates
+++ b/package/ca-certificates/extra/update-ca-certificates
@@ -77,6 +77,8 @@ cat ${DESTDIR}$CRTCONF | while read crt; do
ln -s ${CRTDIR}/$crt ${DESTDIR}${LNKDIR}/${hsh}.${pfx}${idx}
done
-cat /etc/ssl/certs/*.0 > /etc/ssl/cert.pem
+if [ -z ${DESTDIR} ]; then
+ cat /etc/ssl/certs/*.0 > /etc/ssl/cert.pem
+fi
exit 0