lib/penchant/hooks.rb in penchant-0.2.14 vs lib/penchant/hooks.rb in penchant-0.2.15

- old
+ new

@@ -12,9 +12,12 @@ return false if !File.symlink?(target) return false if !File.expand_path(File.readlink(target)) == File.expand_path(file) end true + else + # no script/hooks dir, so we must not want them + true end end def self.install! puts "[penchant] installing git hooks"