--- update-ca-certificates.old 2021-03-17 21:02:18.519724325 +0100 +++ update-ca-certificates 2021-03-17 21:01:30.813725300 +0100 @@ -169,16 +169,20 @@ ADDED_CNT=$(wc -l < "$ADDED") REMOVED_CNT=$(wc -l < "$REMOVED") +################################ +#this block brakes without perl if [ "$ADDED_CNT" -gt 0 ] || [ "$REMOVED_CNT" -gt 0 ] then # only run if set of files has changed - if [ "$verbose" = 0 ] - then - c_rehash . > /dev/null - else - c_rehash . - fi +# if [ "$verbose" = 0 ] +# then +# c_rehash . > /dev/null +# else +# c_rehash . +# fi + for file in *.pem; do ln -s "$file" "$(openssl x509 -hash -noout -in "$file")".0; done fi +################################ chmod 0644 "$TEMPBUNDLE" mv -f "$TEMPBUNDLE" "$CERTBUNDLE"