[Bug 202032] Review Request: efont-unicode-bdf: Unicode font by Electronic Font Open Laboratory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug report.

Summary: Review Request: efont-unicode-bdf: Unicode font by Electronic Font Open Laboratory


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





------- Additional Comments From paul@xxxxxxxxxxxxxxxxxxxxxx  2006-08-10 16:27 EST -------
%post
umask 133
mkfontdir %{fontdir} && /usr/sbin/chkfontpath -q -a %{fontdir}
fc-cache 2>/dev/null

%postun
fc-cache 2>/dev/null

Okay, there needs to be some wrappers around this

you need something like

%post
if [ -x %{_bindir}/mkfontdir ]; then
  if [ - x %{_sbindir}/chkfontpath ]; then
    %{_bindir}/mkfontdir %{fontdir} && %{_sbindir}/chkfontpath -q -a %{fontdir}
  fi
fi
if [-x %{_bindir}/fc-cache ]; then
  %{_bindir}/fc-cache 2>/dev/null
fi

%postun
if [ "$1" = "0" ]; then
  if [-x %{_bindir}/fc-cache ]; then
    %{_bindir}/fc-cache 2>/dev/null
  fi
fi

Also, why are you using umask?

-- 
Configure bugmail: https://bugzilla.redhat.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

_______________________________________________
Fedora-package-review mailing list
Fedora-package-review@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/fedora-package-review

[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]