changeset 11:0f5a560c00d4

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)
author huston@80426f53-59d1-405d-934b-f07cd76f4a1a
date Thu, 16 Jul 2009 21:06:15 +0000
parents c47ed181081e
children 08bf77c6174f
files .bash_profile
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- 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 &
 }