cirandas.net

ref: master

plugins/stoa/install.rb


1
2
3
4
5
require 'fileutils'

config_path = File.join(File.dirname(__FILE__), 'config.yml')
config_template = File.join(File.dirname(__FILE__), 'config.yml.dist')
FileUtils.cp(config_template, config_path) if !File.exist?(config_path)