layman sync before eix-sync
This commit is contained in:
parent
03470b0f53
commit
97299bec69
|
@ -130,6 +130,12 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
done
|
done
|
||||||
fi
|
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
|
# sync portage tree
|
||||||
$NICE_CMD eix-sync || $NICE_CMD emerge --sync
|
$NICE_CMD eix-sync || $NICE_CMD emerge --sync
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: portage tree synchronization failed ;-( =======" && exit $STAGE
|
[ 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
|
[ 0 -ne $? ] && echo "Stage $STAGE: failed to clear /etc/portage/rsync.excludes ;-( =======" && exit $STAGE
|
||||||
fi
|
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
|
# eix update
|
||||||
if [ `which eix-update 2>/dev/null` ]; then
|
if [ `which eix-update 2>/dev/null` ]; then
|
||||||
$NICE_CMD eix-update
|
$NICE_CMD eix-update
|
||||||
|
|
Loading…
Reference in New Issue