lib/yuyi/roll.rb in yuyi-1.0.7 vs lib/yuyi/roll.rb in yuyi-1.0.8

- old
+ new

@@ -171,11 +171,11 @@ end end end def pre_install - return unless self.class.pre_install + return if self.class.installed? || !self.class.pre_install say title, :type => :success instance_eval(&self.class.pre_install) end def install @@ -186,10 +186,10 @@ exit end end def post_install - return unless self.class.post_install + return if self.class.installed? || !self.class.post_install say title, :type => :success instance_eval(&self.class.post_install) end def uninstall