From 22640e330c2de3d6d6add91a7a5317bb962ea5b9 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 13 Dec 2010 02:19:35 +0100 Subject: [PATCH] findutils: fix updatedb cron daily script, bumprev. --- srcpkgs/findutils/files/updatedb.cron-daily | 10 +--------- srcpkgs/findutils/template | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/srcpkgs/findutils/files/updatedb.cron-daily b/srcpkgs/findutils/files/updatedb.cron-daily index 6852ea1b78..cf4148f98e 100755 --- a/srcpkgs/findutils/files/updatedb.cron-daily +++ b/srcpkgs/findutils/files/updatedb.cron-daily @@ -5,15 +5,7 @@ if [ -r /etc/updatedb.conf ]; then . /etc/updatedb.conf fi -if [ -n "$PRUNEFS" ]; then - args="$args --prunefs='$PRUNEFS'" -fi - -if [ -n "$PRUNEPATHS" ]; then - args="$args --prunepaths='$PRUNEPATHS'" -fi - # Update the "locate" database if [ -x /usr/bin/updatedb ]; then - /usr/bin/updatedb ${args} + env PRUNEFS="$PRUNEFS" PRUNEPATHS="$PRUNEPATHS" /usr/bin/updatedb fi diff --git a/srcpkgs/findutils/template b/srcpkgs/findutils/template index 112aefd221..e6c37d04e1 100644 --- a/srcpkgs/findutils/template +++ b/srcpkgs/findutils/template @@ -1,7 +1,7 @@ # Template file for 'findutils' pkgname=findutils version=4.4.2 -revision=1 +revision=2 distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz" build_style=gnu_configure configure_args="--localstatedir=/var/lib/locate"