Commit 79a977a5 authored by telyn's avatar telyn
Browse files

SSL hooks now skip hidden files

parent 661f0ec8
require 'symbiosis'
module Symbiosis
# SSL knows about which SSL providers exist and provides SSL helper functions
class SSL
......@@ -11,6 +12,7 @@ module Symbiosis
Dir.glob(hooks_path).each do |script|
next unless File.executable?(script)
next if File.basename(script) =~ /\..*$/
IO.popen([script, 'live-update'], 'r+') do |io|
io.puts domains_with_updates.join("\n")
io.close_write # Close the pipe now we've written stuff.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment