diff options
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/update-ca-certificates | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates index fc083d7..5375950 100755 --- a/sbin/update-ca-certificates +++ b/sbin/update-ca-certificates @@ -127,8 +127,7 @@ then done fi -chmod 0644 "$TEMPBUNDLE" -mv -f "$TEMPBUNDLE" "$CERTBUNDLE" +rm -f "$CERTBUNDLE" ADDED_CNT=$(wc -l < "$ADDED") REMOVED_CNT=$(wc -l < "$REMOVED") @@ -144,6 +143,9 @@ then fi fi +chmod 0644 "$TEMPBUNDLE" +mv -f "$TEMPBUNDLE" "$CERTBUNDLE" + echo "$ADDED_CNT added, $REMOVED_CNT removed; done." HOOKSDIR=/etc/ca-certificates/update.d |