Upgrading live packages stage.
This commit is contained in:
parent
3da7ef77b3
commit
b34ea829ca
|
@ -369,7 +369,6 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
|||
echo 'Looking for necessity to upgrade @world packages...'
|
||||
emerge -uDNqv @world
|
||||
[ 0 -ne $? ] && echo "Stage $STAGE: @world upgrade failed ;-( =======" && exit $STAGE
|
||||
echo '------- Scanning for missed shared libraries -------'
|
||||
|
||||
let STAGE++
|
||||
fi
|
||||
|
@ -395,6 +394,16 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
|||
fi
|
||||
let STAGE_CNT++
|
||||
|
||||
# Upgrading live packages
|
||||
if [ $STAGE_CNT -eq $STAGE ]; then
|
||||
echo "======= STAGE $STAGE: Upgrading live packages ======="
|
||||
smart-live-rebuild
|
||||
[ 0 -ne $? ] && echo "Stage $STAGE: Upgrading live packages failed ;-( =======" && exit $STAGE
|
||||
|
||||
let STAGE++
|
||||
fi
|
||||
let STAGE_CNT++
|
||||
|
||||
# Cleaning
|
||||
if [ $STAGE_CNT -eq $STAGE ]; then
|
||||
echo "======= STAGE $STAGE: Cleaning ======="
|
||||
|
|
Loading…
Reference in New Issue