lib/vx/builder/script_builder/base.rb in vx-builder-0.3.10 vs lib/vx/builder/script_builder/base.rb in vx-builder-0.3.11
- old
+ new
@@ -29,10 +29,12 @@
def do_before_install(env)
yield env.before_install
end
def do_install(env)
- yield env.install
+ if env.source.install.empty?
+ yield env.install
+ end
end
def do_deploy_script(env)
if deploy?(env)
yield env.script