From a90e16a294af09eb3ebfeeb98d7b5610f86f65f5 Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Mon, 14 Jan 2013 11:24:42 +0400 Subject: [PATCH] eix-remote update && eix-update && eix-remote update --- sbin/gentoo-upgrade.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sbin/gentoo-upgrade.sh b/sbin/gentoo-upgrade.sh index ceef559..6682261 100755 --- a/sbin/gentoo-upgrade.sh +++ b/sbin/gentoo-upgrade.sh @@ -161,6 +161,12 @@ if [ $STAGE_CNT -eq $STAGE ]; then [ 0 -ne $? ] && echo "Stage $STAGE: failed to clear /etc/portage/rsync.excludes ;-( =======" && exit $STAGE fi + # 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 + fi + # eix update if [ `which eix-update 2>/dev/null` ]; then $NICE_CMD eix-update @@ -170,7 +176,7 @@ 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: eix-remote update failed ;-( =======" && exit $STAGE + [ 0 -ne $? ] && echo "Stage $STAGE: 2'nd eix-remote update failed ;-( =======" && exit $STAGE fi # remind to upgrade Xorg input drivers