Download available updates nightly

This commit is contained in:
Daniel Berteaud 2012-11-28 17:04:56 +01:00
parent 1ba6d8d9ba
commit c21c1ece34
2 changed files with 6 additions and 0 deletions

View File

@ -38,6 +38,7 @@ Requires: perl(Net::LDAP)
Requires: perl(Proc::ProcessTable)
Requires: perl(Proc::ProcessTable::Process)
Requires: pbzip2
Requires: yum-downloadonly
%description
@ -232,6 +233,7 @@ perl createlinks
--file /etc/cron.hourly/qmail-notify 'attr(0755,root,root)' \
--file /etc/cron.hourly/cacrl 'attr(0755,root,root)' \
--file /etc/cron.daily/purge-homes-recycle 'attr(0755,root,root)' \
--file /etc/cron.daily/download-updates 'attr(0755,root,root)' \
--dir /home/e-smith/files/scan 'attr(0750,root,shared)' \
--dir /var/lib/qpsmtpd/greylisting 'attr(0750,qpsmtpd,qpsmtpd)' \
--file /usr/bin/make-srv 'attr(0755,root,root)' \

View File

@ -0,0 +1,4 @@
#!/bin/bash
/usr/bin/yum --downloadonly -y update 2>&1 > /dev/null
exit 0