findutils: fix updatedb cron daily script, bumprev.
This commit is contained in:
parent
25493fed47
commit
22640e330c
2 changed files with 2 additions and 10 deletions
|
@ -5,15 +5,7 @@ if [ -r /etc/updatedb.conf ]; then
|
||||||
. /etc/updatedb.conf
|
. /etc/updatedb.conf
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -n "$PRUNEFS" ]; then
|
|
||||||
args="$args --prunefs='$PRUNEFS'"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -n "$PRUNEPATHS" ]; then
|
|
||||||
args="$args --prunepaths='$PRUNEPATHS'"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Update the "locate" database
|
# Update the "locate" database
|
||||||
if [ -x /usr/bin/updatedb ]; then
|
if [ -x /usr/bin/updatedb ]; then
|
||||||
/usr/bin/updatedb ${args}
|
env PRUNEFS="$PRUNEFS" PRUNEPATHS="$PRUNEPATHS" /usr/bin/updatedb
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'findutils'
|
# Template file for 'findutils'
|
||||||
pkgname=findutils
|
pkgname=findutils
|
||||||
version=4.4.2
|
version=4.4.2
|
||||||
revision=1
|
revision=2
|
||||||
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
distfiles="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$version.tar.gz"
|
||||||
build_style=gnu_configure
|
build_style=gnu_configure
|
||||||
configure_args="--localstatedir=/var/lib/locate"
|
configure_args="--localstatedir=/var/lib/locate"
|
||||||
|
|
Loading…
Reference in a new issue