Add '-1' arg to the emerge calls.

This commit is contained in:
Kolan Sh 2014-10-22 16:39:57 +04:00
parent 398949ff4d
commit 3ff913b3fa
1 changed files with 3 additions and 3 deletions

View File

@ -363,7 +363,7 @@ if [ $STAGE_CNT -eq $STAGE ]; then
fi
echo '------- Upgrading Python package -------'
emerge -uDNvt --with-bdeps=y python
emerge -1uDNvt --with-bdeps=y python
[ 0 -ne $? ] && echo "Stage $STAGE: Python upgrade failed ;-( =======" && exit $STAGE
available_python_list=`eselect python list | cut -d" " -f6 | grep -v ^$ | sort -rV`
@ -405,7 +405,7 @@ if [ $STAGE_CNT -eq $STAGE ]; then
echo "======= STAGE $STAGE: @system upgrade ======="
echo '------- Upgrading @system packages -------'
emerge -uDNvt --with-bdeps=y @system
emerge -1uDNvt --with-bdeps=y @system
[ 0 -ne $? ] && echo "Stage $STAGE: @system upgrade failed ;-( =======" && exit $STAGE
let STAGE++
@ -452,7 +452,7 @@ let STAGE_CNT++
if [ $STAGE_CNT -eq $STAGE ]; then
echo "======= STAGE $STAGE: @world upgrade ======="
echo 'Looking for necessity to upgrade @world packages...'
emerge -uDNvt --with-bdeps=y @world
emerge -1uDNvt --with-bdeps=y @world
[ 0 -ne $? ] && echo "Stage $STAGE: @world upgrade failed ;-( =======" && exit $STAGE
let STAGE++