diff --git a/lib/compass/app_integration/stand_alone/installer.rb b/lib/compass/app_integration/stand_alone/installer.rb index 25d5ea44..d13d6162 100644 --- a/lib/compass/app_integration/stand_alone/installer.rb +++ b/lib/compass/app_integration/stand_alone/installer.rb @@ -44,7 +44,7 @@ module Compass end def finalize(options = {}) - if options[:create] + if options[:create] && !manifest.welcome_message_options[:replace] puts <<-NEXTSTEPS ********************************************************************* @@ -72,7 +72,7 @@ More Resources: NEXTSTEPS end puts manifest.welcome_message if manifest.welcome_message - if manifest.has_stylesheet? + if manifest.has_stylesheet? && !manifest.welcome_message_options[:replace] puts "\nTo import your new stylesheets add the following lines of HTML (or equivalent) to your webpage:" puts stylesheet_links end diff --git a/lib/compass/installers/manifest.rb b/lib/compass/installers/manifest.rb index b90831ff..aa3d9660 100644 --- a/lib/compass/installers/manifest.rb +++ b/lib/compass/installers/manifest.rb @@ -48,9 +48,12 @@ module Compass end end - def welcome_message(value = nil) + attr_reader :welcome_message_options + + def welcome_message(value = nil, options = {}) if value @welcome_message = value + @welcome_message_options = options else @welcome_message end