home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2007 September / PCWSEP07.iso / Software / Linux / Linux Mint 3.0 Light / LinuxMint-3.0-Light.iso / casper / filesystem.squashfs / etc / cron.daily / slocate < prev    next >
Encoding:
Text File  |  2006-06-19  |  189 b   |  13 lines

  1. #! /bin/sh
  2.  
  3. if [ -x /usr/bin/slocate ]
  4. then
  5.     if [ -f /etc/updatedb.conf ]
  6.     then
  7.         /usr/bin/updatedb
  8.     else
  9.         /usr/bin/updatedb -f proc
  10.     fi
  11.     chown root.slocate /var/lib/slocate/slocate.db
  12. fi
  13.