summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Mauch <genone@gentoo.org>2004-10-06 18:42:57 +0000
committerMarius Mauch <genone@gentoo.org>2004-10-06 18:42:57 +0000
commit42ccb3b7374b29dd11b74d39133f48dc26c1726f (patch)
tree984854183c1b8de06f642cec9228e77d74aebb91 /app-portage
parentFixed header. (Manifest recommit) (diff)
downloadgentoo-2-42ccb3b7374b29dd11b74d39133f48dc26c1726f.tar.gz
gentoo-2-42ccb3b7374b29dd11b74d39133f48dc26c1726f.tar.bz2
gentoo-2-42ccb3b7374b29dd11b74d39133f48dc26c1726f.zip
new cronscript
Diffstat (limited to 'app-portage')
-rw-r--r--app-portage/esearch/ChangeLog7
-rw-r--r--app-portage/esearch/files/eupdatedb.cron3
2 files changed, 7 insertions, 3 deletions
diff --git a/app-portage/esearch/ChangeLog b/app-portage/esearch/ChangeLog
index 2a8ed0098f38..acfbbb76a7f2 100644
--- a/app-portage/esearch/ChangeLog
+++ b/app-portage/esearch/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-portage/esearch
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.22 2004/10/04 23:24:53 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-portage/esearch/ChangeLog,v 1.23 2004/10/06 18:42:57 genone Exp $
+
+ 06 Oct 2004; <genone@gentoo.org> files/eupdatedb.cron:
+ added cronscript from bug 51794 (thanks to Sridhar Dhanapalan)
*esearch-0.7 (05 Oct 2004)
@@ -71,7 +74,7 @@
*esearch-0.5.1 (23 Oct 2003)
23 Oct 2003; Marius Mauch <genone@gentoo.org> esearch-0.5.1.ebuild:
- version bu,mp
+ version bump
*esearch-0.5 (19 Oct 2003)
diff --git a/app-portage/esearch/files/eupdatedb.cron b/app-portage/esearch/files/eupdatedb.cron
index 6595af469a95..1cf802f7b05f 100644
--- a/app-portage/esearch/files/eupdatedb.cron
+++ b/app-portage/esearch/files/eupdatedb.cron
@@ -6,6 +6,7 @@
# Run some script
SCRIPT="/usr/sbin/eupdatedb"
+SCRIPTPREOPTS="nice -n 19"
SCRIPTOPTS="--quiet"
PRECOMMAND=""
POSTCOMMAND=""
@@ -17,7 +18,7 @@ ${PRECOMMAND}
# Start logging
echo "--- Starting ${SCRIPT} for ${DATE} ---" >> ${LOG}
-if [ "`${SCRIPT} ${SCRIPTOPTS}`" ]
+if [ "`${SCRIPTPREOPTS} ${SCRIPT} ${SCRIPTOPTS}`" ]
then
echo "${SCRIPT}: success." >> ${LOG}
else