summaryrefslogtreecommitdiff
blob: 72c562d8a08070f9b97bae32620f2efec64f3ac2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- debian/cron.daily
+++ debian/cron.daily
@@ -1,12 +1,11 @@
 #! /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
 fi