1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-23 10:01:55 +02:00

[ticket/17434] Update Vagrantfile ruby syntax

PHPBB-17434
This commit is contained in:
Ruben Calvo
2024-11-20 17:51:50 +01:00
parent 5218e158dd
commit 6726268195

6
Vagrantfile vendored
View File

@@ -11,15 +11,15 @@ aliasesPath = "vagrant/aliases"
require File.expand_path(confDir + '/scripts/homestead.rb')
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
if File.exists? aliasesPath then
if File.exist? aliasesPath then
config.vm.provision "file", source: aliasesPath, destination: "~/.bash_aliases"
end
if File.exists? homesteadYamlPath then
if File.exist? homesteadYamlPath then
Homestead.configure(config, YAML::load(File.read(homesteadYamlPath)))
end
if File.exists? afterScriptPath then
if File.exist? afterScriptPath then
config.vm.provision "shell", path: afterScriptPath
end
end