Fix remote/downloaded shell scripts
The temporary shell script that we downloaded the script too was being deleted twice, thus causing an error on the secondary delete.
This commit is contained in:
parent
392269a8eb
commit
cc905d7923
|
@ -141,8 +141,6 @@ module VagrantPlugins
|
||||||
ensure
|
ensure
|
||||||
download_path.delete if download_path.file?
|
download_path.delete if download_path.file?
|
||||||
end
|
end
|
||||||
|
|
||||||
download_path.delete
|
|
||||||
elsif config.path
|
elsif config.path
|
||||||
# Just yield the path to that file...
|
# Just yield the path to that file...
|
||||||
root_path = @machine.env.root_path
|
root_path = @machine.env.root_path
|
||||||
|
|
Loading…
Reference in New Issue