diff --git a/a2ps.spec b/a2ps.spec index 9538cbd..c917966 100644 --- a/a2ps.spec +++ b/a2ps.spec @@ -233,7 +233,7 @@ rm -f %{buildroot}%{_infodir}/dir %find_lang %name %post -/sbin/ldconfig +%{?ldconfig} (cd %{_datadir}/a2ps/afm; ./make_fonts_map.sh > /dev/null 2>&1 || /bin/true if [ -f fonts.map.new ]; then @@ -242,7 +242,7 @@ rm -f %{buildroot}%{_infodir}/dir ) exit 0 -%postun -p /sbin/ldconfig +%ldconfig_postun %files -f %{name}.lang %dir %{_sysconfdir}/a2ps