python-updater deprecated.
This commit is contained in:
parent
f739dca543
commit
ddde9aaeb9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue