aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xhooks/housekeeping.hook6
1 files changed, 4 insertions, 2 deletions
diff --git a/hooks/housekeeping.hook b/hooks/housekeeping.hook
index 7fc77a9..15e4dda 100755
--- a/hooks/housekeeping.hook
+++ b/hooks/housekeeping.hook
@@ -5,10 +5,12 @@ git submodule update
#.files is used to tell scripts where to look for the dotfiles
[ -f "$HOME/.files" ] && source "$HOME/.files"
-if [ "$DOTFILEBASE" != "$(pwd)" ] && yes_no "'.files' out of date. Regenerate?"; then
+if [ "$DOTFILEBASE" != "$(pwd)" ]; then
+ echo "\~/.files is our of date. Updating."
echo "DOTFILEBASE=\"$(pwd)\"" > $HOME/.files
fi
-if [ ! -f "$HOME/.files.config" ] && yes_no ".files.config does not exist. Populate with defaults?"; then
+if [ ! -f "$HOME/.files.config" ]; then
+ echo "Installing default configuration in ~/.files.config"
cp "config.default" "$HOME/.files.config"
fi