From 98439727efde6081d04249fb539400ec290d64ae Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sat, 10 Jan 2009 17:00:39 -0800 Subject: [PATCH] No need to check for updates if ALL is running. This is an optimization I'm suprised I didn't catch before. Don't try to see if there are updates if -a is called. --- update-live-ebuilds | 3 +++ 1 file changed, 3 insertions(+) diff --git a/update-live-ebuilds b/update-live-ebuilds index 4d1c2b3..9fd9315 100755 --- a/update-live-ebuilds +++ b/update-live-ebuilds @@ -265,6 +265,9 @@ function emerger() { ## use environment variables at that point. ################################################################################################################################################ function get_hash() { + ## No need to check for updates. + [ ${ALL} -eq ${true} ] && return 0 + export newhash local found -- 2.11.4.GIT