Download available updates nightly
This commit is contained in:
parent
1ba6d8d9ba
commit
c21c1ece34
|
@ -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)' \
|
||||
|
|
4
root/etc/cron.daily/download-updates
Normal file
4
root/etc/cron.daily/download-updates
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
/usr/bin/yum --downloadonly -y update 2>&1 > /dev/null
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user