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 <mauro.giachero@gmail.com>
This commit is contained in:
mauro.giachero 2009-04-29 14:34:34 +00:00
parent 28b98e1beb
commit 5beff37f6e

View file

@ -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')