diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-04-21 05:23:00 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-04-21 05:23:00 +0000 |
commit | b1cc535abfcf96de1b649fefa9fcd5c3783a8ade (patch) | |
tree | 6d532f363c71e393afdf4dfbb5822e79a71e9c15 /sys-apps/slocate/files | |
parent | old (diff) | |
download | gentoo-2-b1cc535abfcf96de1b649fefa9fcd5c3783a8ade.tar.gz gentoo-2-b1cc535abfcf96de1b649fefa9fcd5c3783a8ade.tar.bz2 gentoo-2-b1cc535abfcf96de1b649fefa9fcd5c3783a8ade.zip |
Fixup cron script #130435 by Caster.
(Portage version: 2.1_pre9-r1)
Diffstat (limited to 'sys-apps/slocate/files')
-rw-r--r-- | sys-apps/slocate/files/digest-slocate-3.1-r1 | 3 | ||||
-rw-r--r-- | sys-apps/slocate/files/slocate-3.1-cron.patch | 19 |
2 files changed, 22 insertions, 0 deletions
diff --git a/sys-apps/slocate/files/digest-slocate-3.1-r1 b/sys-apps/slocate/files/digest-slocate-3.1-r1 new file mode 100644 index 000000000000..fae5f81751c0 --- /dev/null +++ b/sys-apps/slocate/files/digest-slocate-3.1-r1 @@ -0,0 +1,3 @@ +MD5 908e6949d959ae7b686c10bb76b35bf3 slocate-3.1.tar.gz 37748 +RMD160 d3b1e818cc35ce8e87ec1b0764f6b2145a319e13 slocate-3.1.tar.gz 37748 +SHA256 6abec68ab50fa743739fb78a5063c295ae2f7d04d2e538f7c3108120e49a3266 slocate-3.1.tar.gz 37748 diff --git a/sys-apps/slocate/files/slocate-3.1-cron.patch b/sys-apps/slocate/files/slocate-3.1-cron.patch new file mode 100644 index 000000000000..b5d7ec064a3d --- /dev/null +++ b/sys-apps/slocate/files/slocate-3.1-cron.patch @@ -0,0 +1,19 @@ +--- debian/cron.daily.orig 2006-04-21 01:21:18.000000000 -0400 ++++ debian/cron.daily 2006-04-21 01:21:34.000000000 -0400 +@@ -1,12 +1,12 @@ + #! /bin/sh + +-if [ -x /usr/bin/slocate ] ++if [ -x /usr/bin/updatedb ] + then + if [ -f /etc/updatedb.conf ] + then +- /usr/bin/updatedb ++ nice /usr/bin/updatedb + else +- /usr/bin/updatedb -f proc ++ nice /usr/bin/updatedb -f proc + fi +- chown root.slocate /var/lib/slocate/slocate.db ++ chown root.locate /var/lib/slocate/slocate.db + fi |