methods/in_common.rb
# Copy packages to local packages directory
Copy packages to local packages directory
Copy packages to local packages directory
def download_pkg(options,remote_file)
  local_file = File.basename(remote_file)
  if not File.exist?(local_file)
    message = "Information:\tFetching "+remote_file+" to "+local_file
    command = "wget #{remote_file} -O #{local_file}"
    execute_command(options,message,command)
  end
  return
end
def download_pkg ( options , remote_file ) local_file = File . basename ( remote_file ) if not File . exist? ( local_file ) message = "Information:\tFetching " + remote_file + " to " + local_file command = "wget #{remote_file} -O #{local_file}" execute_command ( options , message , command ) end return end
Copy packages to local packages directory
Copy packages to local packages directory
options
<not_specific>
remote_file
<not_specific>