From e62a85ff36fcda1d88dd233028d267fa27035cc6 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Tue, 28 Oct 2014 15:33:09 +0300 Subject: [PATCH] Don't check eix-remote update status. --- sbin/gentoo-upgrade.sh | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/sbin/gentoo-upgrade.sh b/sbin/gentoo-upgrade.sh index fe00149..714544b 100755 --- a/sbin/gentoo-upgrade.sh +++ b/sbin/gentoo-upgrade.sh @@ -166,22 +166,10 @@ if [ $STAGE_CNT -eq $STAGE ]; then # eix-remote update if [ `which eix-remote 2>/dev/null` ]; then $NICE_CMD eix-remote update - [ 0 -ne $? ] && echo "Stage $STAGE: 1'st eix-remote update failed ;-( =======" && exit $STAGE + # Don't check command status as gpo.zugaina.org sometimes gets broken archive for a long time + # [ 0 -ne $? ] && echo "Stage $STAGE: 1'st eix-remote update failed ;-( =======" && exit $STAGE fi - # Spare action is not required - ## eix update - #if [ `which eix-update 2>/dev/null` ]; then - # $NICE_CMD eix-update - # [ 0 -ne $? ] && echo "Stage $STAGE: eix-update failed ;-( =======" && exit $STAGE - #fi - # - ## eix-remote update - #if [ `which eix-remote 2>/dev/null` ]; then - # $NICE_CMD eix-remote update - # [ 0 -ne $? ] && echo "Stage $STAGE: 2'nd eix-remote update failed ;-( =======" && exit $STAGE - #fi - # remind to upgrade Xorg input drivers tmp=`qlist -IC x11-base/xorg-server` if [ "" != "$tmp" ]; then