https://bugzilla.redhat.com/show_bug.cgi?id=1021755



--- Comment #6 from Tom "spot" Callaway <[email protected]> ---
[spot@wolverine ~]$ rpm -q urw-fonts
urw-fonts-2.4-17.fc20.noarch
[spot@wolverine ~]$ rpm -q --scripts urw-fonts-2.4-17.fc20
postinstall scriptlet (using /bin/sh):
{
   umask 133
   mkfontscale /usr/share/fonts/default/Type1 || :
   mkfontdir /usr/share/fonts/default/Type1 || :
   fc-cache /usr/share/fonts
} &> /dev/null || :
postuninstall scriptlet (using /bin/sh):
{
   if [ "$1" = "0" ]; then
      fc-cache /usr/share/fonts
   fi
} &> /dev/null || :

[spot@wolverine ~]$ sudo rpm -Uvh urw-fonts-2.4-18.fc20.noarch.rpm 
Preparing...                          ################################# [100%]
Updating / installing...
   1:urw-fonts-2.4-18.fc20            ################################# [ 50%]
Cleaning up / removing...
   2:urw-fonts-2.4-17.fc20            ################################# [100%]

[spot@wolverine ~]$ rpm -q urw-fonts
urw-fonts-2.4-18.fc20.noarch

[spot@wolverine ~]$ rpm -q --scripts urw-fonts-2.4-18.fc20
postinstall scriptlet (using /bin/sh):
{
   umask 133
   mkfontscale /usr/share/fonts/default/Type1 || :
   mkfontdir /usr/share/fonts/default/Type1 || :
   fc-cache /usr/share/fonts/default/Type1
} &> /dev/null || :
postuninstall scriptlet (using /bin/sh):
{
   if [ "$1" = "0" ]; then
      fc-cache /usr/share/fonts/default/Type1
   fi
} &> /dev/null || :

*****

Note the fc-cache lines have been fixed, and are not the same as Akira's.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=5JBpO3wE9Z&a=cc_unsubscribe
_______________________________________________
fonts-bugs mailing list
[email protected]
https://admin.fedoraproject.org/mailman/listinfo/fonts-bugs
http://fonts.fedoraproject.org/

Reply via email to