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:
parent
4056d1996b
commit
3e7de31fb0
@ -353,9 +353,12 @@ main() {
|
|||||||
if [ $? -eq 2 ]; then
|
if [ $? -eq 2 ]; then
|
||||||
old_repoman=
|
old_repoman=
|
||||||
|
|
||||||
say "${GREEN}Please update portage to newer version in order to have repoman supporting"
|
#say "${GREEN}Please consider updating portage to newer version.${RESET}"
|
||||||
say "--ask option and thus delay the following question until after 'repoman full'.${RESET}"
|
#say
|
||||||
say
|
req repoman manifest
|
||||||
|
if ! repoman full; then
|
||||||
|
[ -n "${force}" ] || die 'Please correct the problems pointed out by repoman.'
|
||||||
|
fi
|
||||||
confirm
|
confirm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user