mirror of
https://pagure.io/fedora-docs/quick-docs.git
synced 2024-11-24 13:32:42 +00:00
fonts: Fix permissions and labels for unpackaged fonts
This commit is contained in:
parent
551362d3da
commit
4244c40558
1 changed files with 5 additions and 0 deletions
|
@ -76,6 +76,11 @@ Create a new directory `/usr/local/share/fonts/<font-family-name>/` for the new
|
|||
Copy font files (e.g. `.ttf` files) to the new directory::
|
||||
`sudo cp ~/Downloads/robofont.ttf /usr/local/share/fonts/robofont`
|
||||
|
||||
Set permissions and update SELinux labels::
|
||||
`sudo chown -R root: /usr/local/share/fonts/robofont`
|
||||
`sudo chmod 644 /usr/local/share/fonts/robofont/*`
|
||||
`sudo restorecon -RF /usr/local/share/fonts/robofont`
|
||||
|
||||
Update the font cache::
|
||||
`sudo fc-cache -v`
|
||||
|
||||
|
|
Loading…
Reference in a new issue