# HG changeset patch # User huston@80426f53-59d1-405d-934b-f07cd76f4a1a # Date 1247778375 0 # Node ID 0f5a560c00d4ee373e84052da5cf36d588c5e8b3 # Parent c47ed181081e719d60059a304812447f91cfe3b9 Changed check time to one month, and made it backgrounded. These things don't change as much anymore, and I don't mind if it's done in the background. I may even entertain thoughts of making it *do* the checkout instead of just reporting there's a new version, since I think I can have ways around any problem that might come up because of that (should test that first though) diff -r c47ed181081e -r 0f5a560c00d4 .bash_profile --- a/.bash_profile Mon Jun 15 14:39:04 2009 +0000 +++ b/.bash_profile Thu Jul 16 21:06:15 2009 +0000 @@ -39,17 +39,16 @@ [[ `uname` == "Darwin" ]] && { STAT="stat -f %m -t %s $HOME/.dotfilets" - DATE="date -v -1w +%s" + DATE="date -v -1m +%s" } [[ `uname` == "Linux" ]] && { STAT="stat -c %Y $HOME/.dotfilets" - DATE="date -d \"1 week ago\" +%s" + DATE="date -d \"1 month ago\" +%s" } [[ ! -f $HOME/.dotfilets || \ `eval $STAT` -lt `eval $DATE` ]] && { - echo Dotfiles last checked over a week ago, running a status test. - echo Ctrl-C to abort, and test will be run again on next login. - svn st -u && touch $HOME/.dotfilets + echo Dotfiles last checked over a month ago, running a status test. + svn st -u && touch $HOME/.dotfilets & }