Sha256: 4ab87d0a8b6e33fcfc021680939986e97ba0d31ffe8c68de2d9354a63450109f

Contents?: true

Size: 459 Bytes

Versions: 1

Compression:

Stored size: 459 Bytes

Contents

module AppConfig
  module PostInstall
    def self.message
      unless File.directory?(File.expand_path('~/.collage', __FILE__))
        FileUtils.mkdir(File.expand_path('~/.collage/'))
        FileUtils.cp('config.yaml', File.expand_path('~/.collage/config.yaml'))
        puts <<-MESSAGE
      A basic Yaml Configuration file has been copied to ~/.collage/config.yaml
      you modify that to change some setting.
      MESSAGE
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flickr_collager-0.0.1 lib/post_install.rb