diff --git a/lib/penchant/hooks.rb b/lib/penchant/hooks.rb index 9b795b5..6e0c40b 100644 --- a/lib/penchant/hooks.rb +++ b/lib/penchant/hooks.rb @@ -12,12 +12,9 @@ module Penchant 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 + + true end def self.install! diff --git a/lib/penchant/version.rb b/lib/penchant/version.rb index b33d21e..5b54960 100644 --- a/lib/penchant/version.rb +++ b/lib/penchant/version.rb @@ -1,3 +1,3 @@ module Penchant - VERSION = "0.2.25" + VERSION = "0.2.26" end