2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-25 16:50:07 -07:00
repo/core/ca-certificates/patches/update-ca-certificates-destdir.patch
2019-06-19 10:45:26 +03:00

21 lines
670 B
Diff
Executable File

--- usr/sbin/update-ca-certificates.orig 2015-05-29 11:09:43.922158838 +0200
+++ usr/sbin/update-ca-certificates 2015-05-29 11:10:06.842632933 +0200
@@ -24,12 +24,12 @@
verbose=0
fresh=0
default=0
-CERTSCONF=/etc/ca-certificates.conf
-CERTSDIR=/usr/share/ca-certificates
-LOCALCERTSDIR=/usr/local/share/ca-certificates
+CERTSCONF=$DESTDIR/etc/ca-certificates.conf
+CERTSDIR=/usr/share/ca-certificates
+LOCALCERTSDIR=$DESTDIR/usr/local/share/ca-certificates
CERTBUNDLE=ca-certificates.crt
-ETCCERTSDIR=/etc/ssl/certs
-HOOKSDIR=/etc/ca-certificates/update.d
+ETCCERTSDIR=$DESTDIR/etc/ssl/certs
+HOOKSDIR=$DESTDIR/etc/ca-certificates/update.d
while [ $# -gt 0 ];
do