# Generate `locate` database for my home directory only. Exclude backups and
# other temporary files.
-# Copyright (C) 2012-2013 Simon Ruderich
+# Copyright (C) 2012-2014 Simon Ruderich
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+set -eu
+
exec updatedb \
--localpaths="$HOME" \
--prunepaths="$HOME/.tmp $HOME/tmp" \