layman sync before eix-sync

This commit is contained in:
Kolan Sh 2012-11-25 12:06:56 +04:00
parent 03470b0f53
commit 97299bec69
1 changed files with 6 additions and 6 deletions

View File

@ -130,6 +130,12 @@ if [ $STAGE_CNT -eq $STAGE ]; then
done
fi
# layman syncronization
if [ `which layman 2>/dev/null` ]; then
$NICE_CMD layman -S
[ 0 -ne $? ] && echo "Stage $STAGE: layman synchronization failed ;-( =======" && exit $STAGE
fi
# sync portage tree
$NICE_CMD eix-sync || $NICE_CMD emerge --sync
[ 0 -ne $? ] && echo "Stage $STAGE: portage tree synchronization failed ;-( =======" && exit $STAGE
@ -148,12 +154,6 @@ if [ $STAGE_CNT -eq $STAGE ]; then
[ 0 -ne $? ] && echo "Stage $STAGE: failed to clear /etc/portage/rsync.excludes ;-( =======" && exit $STAGE
fi
# layman syncronization
if [ `which layman 2>/dev/null` ]; then
$NICE_CMD layman -S
[ 0 -ne $? ] && echo "Stage $STAGE: layman synchronization failed ;-( =======" && exit $STAGE
fi
# eix update
if [ `which eix-update 2>/dev/null` ]; then
$NICE_CMD eix-update