python-updater deprecated.

This commit is contained in:
Kolan Sh 2016-08-17 10:37:58 +03:00
parent f739dca543
commit ddde9aaeb9
1 changed files with 4 additions and 2 deletions

View File

@ -363,8 +363,10 @@ if [ $STAGE_CNT -eq $STAGE ]; then
eselect python set $new_python eselect python set $new_python
[ 0 != $? ] && echo "Stage $STAGE: cann't switch to another python version ;-( =======" && exit $STAGE [ 0 != $? ] && echo "Stage $STAGE: cann't switch to another python version ;-( =======" && exit $STAGE
if [ `which python-updater 2>/dev/null` ]; then
$NICE_CMD python-updater $NICE_CMD python-updater
[ 0 != $? ] && echo "Stage $STAGE: python-updater failed ;-( =======" && exit $STAGE [ 0 != $? ] && echo "Stage $STAGE: python-updater failed ;-( =======" && exit $STAGE
fi
rm /etc/portage/need_upgrade_python rm /etc/portage/need_upgrade_python
[ 0 != $? ] && echo "Stage $STAGE: cann't remove /etc/portage/need_upgrade_python ;-( =======" && exit $STAGE [ 0 != $? ] && echo "Stage $STAGE: cann't remove /etc/portage/need_upgrade_python ;-( =======" && exit $STAGE
else else