-#!/bin/bash
+#!/bin/sh
# Remove TeX fonts not used in 180 days
-/usr/sbin/tmpwatch 4320 /var/lib/texmf/fonts
-exit 0
+[ -x /usr/sbin/tmpwatch ] && /usr/sbin/tmpwatch 4320 /var/lib/texmf/fonts || :
# xmltex; do
%if %{with bootstrap}
- install -d $RPM_BUILD_ROOT%{fmtdir}/${format}
- touch $RPM_BUILD_ROOT%{fmtdir}/${format}/${format}.fmt
- touch $RPM_BUILD_ROOT%{fmtdir}/pdftex/${format}.fmt
+ install -d $RPM_BUILD_ROOT%{fmtdir}/${format}
+ touch $RPM_BUILD_ROOT%{fmtdir}/${format}/${format}.fmt
+ touch $RPM_BUILD_ROOT%{fmtdir}/pdftex/${format}.fmt
%else
#######
# fmtutil --fmtdir $RPM_BUILD_ROOT%{fmtdir} --byfmt=${format}
%attr(755,root,root) %{texmf}/web2c/mktexdir
%attr(755,root,root) %{texmf}/web2c/mktexupd
-%attr(750,root,root) /etc/cron.daily/texlive
+%config(noreplace,missingok) %verify(not md5 mtime size) %attr(750,root,root) /etc/cron.daily/texlive
%config(noreplace) %verify(not md5 mtime size) %{texmf}/web2c/fmtutil.cnf
%config(noreplace) %verify(not md5 mtime size) %{texmf}/web2c/mktex.opt