Manually call repoman manifest/full with old repoman.

If we're using old repoman version, call 'repoman full' before asking
for confirmation to allow fixing minor problems before committing. That
implies calling 'repoman manifest' too.

Additionally, don't complain about outdated repoman before the patched
version is released.
This commit is contained in:
Michał Górny 2010-07-12 15:31:47 +02:00
parent 4056d1996b
commit 3e7de31fb0

View File

@ -353,9 +353,12 @@ main() {
if [ $? -eq 2 ]; then
old_repoman=
say "${GREEN}Please update portage to newer version in order to have repoman supporting"
say "--ask option and thus delay the following question until after 'repoman full'.${RESET}"
say
#say "${GREEN}Please consider updating portage to newer version.${RESET}"
#say
req repoman manifest
if ! repoman full; then
[ -n "${force}" ] || die 'Please correct the problems pointed out by repoman.'
fi
confirm
fi