From 5beff37f6e3ec0515a091af4b923a00d427e3524 Mon Sep 17 00:00:00 2001 From: "mauro.giachero" Date: Wed, 29 Apr 2009 14:34:34 +0000 Subject: [PATCH] Remove stale 'find' call. This is a call I forgot to remove when the new updates code went in (r333). There were no functional changes due to this, but slowed down the updates by a perceivable amount. Signed-off-by: Mauro Giachero --- src/usr/sbin/sbopkg | 1 - 1 file changed, 1 deletion(-) diff --git a/src/usr/sbin/sbopkg b/src/usr/sbin/sbopkg index 1ca0c2d..7a5afaa 100755 --- a/src/usr/sbin/sbopkg +++ b/src/usr/sbin/sbopkg @@ -541,7 +541,6 @@ check_for_updates() { fi # Extract the new package version - NEWSB=$(find $LOCALREPO/$SLACKVER -name $NAME.SlackBuild) if [[ ! -z $NEWSB ]]; then NEWARCH=$(egrep -m1 "^ARCH" $NEWSB | sed -e \ 's/[ #}\t].*$//;s/^.*[=-]//;s/\"//g')