Spare actions commented to decrease overhead.
This commit is contained in:
parent
4d0987f6f1
commit
b302e20017
|
@ -138,11 +138,12 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# layman syncronization
|
# /etc/eix-sync.conf:* and we don't need to call layman manually
|
||||||
if [ `which layman 2>/dev/null` ]; then
|
## layman syncronization
|
||||||
$NICE_CMD layman -S
|
#if [ `which layman 2>/dev/null` ]; then
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: layman synchronization failed ;-( =======" && exit $STAGE
|
# $NICE_CMD layman -S
|
||||||
fi
|
# [ 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
|
||||||
|
@ -168,17 +169,18 @@ if [ $STAGE_CNT -eq $STAGE ]; then
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: 1'st eix-remote update failed ;-( =======" && exit $STAGE
|
[ 0 -ne $? ] && echo "Stage $STAGE: 1'st eix-remote update failed ;-( =======" && exit $STAGE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# eix update
|
# Spare action is not required
|
||||||
if [ `which eix-update 2>/dev/null` ]; then
|
## eix update
|
||||||
$NICE_CMD eix-update
|
#if [ `which eix-update 2>/dev/null` ]; then
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: eix-update failed ;-( =======" && exit $STAGE
|
# $NICE_CMD eix-update
|
||||||
fi
|
# [ 0 -ne $? ] && echo "Stage $STAGE: eix-update failed ;-( =======" && exit $STAGE
|
||||||
|
#fi
|
||||||
# eix-remote update
|
#
|
||||||
if [ `which eix-remote 2>/dev/null` ]; then
|
## eix-remote update
|
||||||
$NICE_CMD eix-remote update
|
#if [ `which eix-remote 2>/dev/null` ]; then
|
||||||
[ 0 -ne $? ] && echo "Stage $STAGE: 2'nd eix-remote update failed ;-( =======" && exit $STAGE
|
# $NICE_CMD eix-remote update
|
||||||
fi
|
# [ 0 -ne $? ] && echo "Stage $STAGE: 2'nd eix-remote update failed ;-( =======" && exit $STAGE
|
||||||
|
#fi
|
||||||
|
|
||||||
# remind to upgrade Xorg input drivers
|
# remind to upgrade Xorg input drivers
|
||||||
tmp=`qlist -IC x11-base/xorg-server`
|
tmp=`qlist -IC x11-base/xorg-server`
|
||||||
|
|
Loading…
Reference in New Issue