mrepo
mrepo copied to clipboard
inverted function of reposync-newest-only
If set to 'yes' it will donwload all. If set to 'no' it will download latest RPMs only.
$ grep newest /etc/mrepo.conf _reposync-newest-only = yes_
$ mrepo -n -u -r latest ol7 ol7-x86_64: Updating Oracle Linux 7 (x86_64) Not execute: exec /usr/bin/reposync -q --urls --delete --norepopath -t -c '/tmp/tmpqThOMa' -r ol7-x86_64-latest -p '/var/mrepo/ol7-x86_64/latest' >/dev/null
$ grep newest /etc/mrepo.conf _reposync-newest-only = no_
$ mrepo -n -u -r latest ol7 ol7-x86_64: Updating Oracle Linux 7 (x86_64) Not execute: exec /usr/bin/reposync -q --urls --delete _--newest-only_ --norepopath -t -c '/tmp/tmpuBRSWM' -r ol7-x86_64-latest -p '/var/mrepo/ol7-x86_64/latest' >/dev/null