guests/debian: Do not check if rsync is installed before installing
This is already done via the rsync_installed capability.
This commit is contained in:
parent
76bab1932e
commit
cb2f3a697f
|
@ -4,12 +4,11 @@ module VagrantPlugins
|
|||
class RSync
|
||||
def self.rsync_install(machine)
|
||||
comm = machine.communicate
|
||||
if !comm.test("command -v rsync")
|
||||
comm.sudo <<-EOH.gsub(/^ {14}/, '')
|
||||
apt-get -yqq update
|
||||
apt-get -yqq install rsync
|
||||
EOH
|
||||
end
|
||||
comm.sudo <<-EOH.gsub(/^ {14}/, '')
|
||||
set -e
|
||||
apt-get -yqq update
|
||||
apt-get -yqq install rsync
|
||||
EOH
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue