lib/dply/tasks.rb in dply-0.1.11 vs lib/dply/tasks.rb in dply-0.1.12
- old
+ new
@@ -45,9 +45,10 @@
info[:previous] = previous_version
logger.remote "#{previous_version} => #{current_version}"
end
def install_pkgs(build_mode: false, use_yum: false)
+ return if not File.exists? "pkgs.yml"
drake_exists = File.exists? (drake_command)
if use_yum || !drake_exists
yum_install build_mode
else
command_install build_mode