X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=bin%2Fsupdatedb;h=4f5fac099ff268941112c4ed5447c23b7095f537;hb=f551f4a333baf41a1abc3a8264b335f2c1681a76;hp=a3ced0cea8ee7b38eb946f7393c4017b8a00a366;hpb=6e1fdbbeba19567dc1b8bbf7f0b4bd9f3fa5c365;p=config%2Fdotfiles.git diff --git a/bin/supdatedb b/bin/supdatedb index a3ced0c..4f5fac0 100755 --- a/bin/supdatedb +++ b/bin/supdatedb @@ -3,7 +3,7 @@ # 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 @@ -19,6 +19,8 @@ # along with this program. If not, see . +set -eu + exec updatedb \ --localpaths="$HOME" \ --prunepaths="$HOME/.tmp $HOME/tmp" \