summaryrefslogtreecommitdiff
path: root/bin/rcdn
diff options
context:
space:
mode:
Diffstat (limited to 'bin/rcdn')
-rwxr-xr-xbin/rcdn5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/rcdn b/bin/rcdn
index d809796..cae9dc8 100755
--- a/bin/rcdn
+++ b/bin/rcdn
@@ -70,6 +70,9 @@ if [ -e $HOME/.rcrc ]; then
fi
handle_command_line $*
+: ${DOTFILES_DIRS:=$DOTFILES_DIRS $DEFAULT_DOTFILES_DIR}
+
+run_hooks pre down
for dest_and_src in `lsrc $LS_ARGS`; do
saved_ifs=$IFS
@@ -81,3 +84,5 @@ for dest_and_src in `lsrc $LS_ARGS`; do
remove_link $dest $dest $sigil
done
+
+run_hooks post down