layman sync before eix-update

This commit is contained in:
Kolan Sh 2012-10-10 21:03:45 +04:00
parent 8673d15831
commit 3309f6c3d9
1 changed files with 6 additions and 6 deletions

View File

@ -135,6 +135,12 @@ 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
@ -147,12 +153,6 @@ if [ $STAGE_CNT -eq $STAGE ]; then
[ 0 -ne $? ] && echo "Stage $STAGE: eix-remote update failed ;-( =======" && 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
# remind to upgrade Xorg input drivers
tmp=`qlist -IC x11-base/xorg-server`
if [ "" != "$tmp" ]; then