diff options
Diffstat (limited to 'sbin')
-rwxr-xr-x | sbin/update-ca-certificates | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sbin/update-ca-certificates b/sbin/update-ca-certificates index 021a3c7..b8f16b4 100755 --- a/sbin/update-ca-certificates +++ b/sbin/update-ca-certificates @@ -146,6 +146,8 @@ fi chmod 0644 "$TEMPBUNDLE" mv -f "$TEMPBUNDLE" "$CERTBUNDLE" +# Restore proper SELinux label after moving the file +[ -x /sbin/restorecon ] && /sbin/restorecon "$CERTBUNDLE" echo "$ADDED_CNT added, $REMOVED_CNT removed; done." |