]> git.pld-linux.org Git - packages/texlive.git/commitdiff
- %config and %verify flags for cron.daily fixed tmpwatch script
authorTomasz Pala <gotar@pld-linux.org>
Thu, 20 Jan 2011 00:16:31 +0000 (00:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    texlive.cron -> 1.3
    texlive.spec -> 1.328

texlive.cron
texlive.spec

index 60f8c52954b698793de2228c48a6d1e1c0292f10..e866ffbc6e16ea93ebc4271e99828ac5c492d044 100644 (file)
@@ -1,4 +1,3 @@
-#!/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 || :
index 591f4518e7596b188c7aff5cdec2495232fdf8c7..8f199c101a270aa4c07acdc176daeb840eef64a6 100644 (file)
@@ -6160,9 +6160,9 @@ for format in \
 # 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}
@@ -7716,7 +7716,7 @@ fi
 %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
This page took 0.229646 seconds and 4 git commands to generate.