diff options
Diffstat (limited to 'share/rcm.sh.in')
-rw-r--r-- | share/rcm.sh.in | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/share/rcm.sh.in b/share/rcm.sh.in index 13120f7..bccc0a9 100644 --- a/share/rcm.sh.in +++ b/share/rcm.sh.in @@ -107,12 +107,7 @@ run_hooks() { $DEBUG " with DOTFILES_DIRS: $DOTFILES_DIRS" local when="$1" local direction="$2" - local hook_file="$dotfiles_dir/hooks/$when-$direction" - - if [ ! -e "$hook_file" ]; then - $DEBUG "no $when-$direction hook file, skipping" - return 1 - fi + local hook_file if [ $RUN_HOOKS -eq 1 ]; then for dotfiles_dir in $DOTFILES_DIRS; do |