Some stylistic changes regarding arch commit

This commit is contained in:
Mitchell Hashimoto 2011-04-19 22:04:55 -07:00
parent 2c091c98cc
commit 0953c41446
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,6 @@
## 0.7.3 (unreleased)
- Add NFS shared folder support for Arch linux. [GH-346]
- Fix issue with unknown terminal type output for sudo commands.
- Forwarded port protocol can now be set as UDP. [GH-311]
- Chef server file cache path and file backup path can be configured. [GH-310]

View File

@ -29,8 +29,10 @@ module Vagrant
end
def arch?
linux?() and File.exist?('/etc/rc.conf') and
File.exist?('/etc/pacman.conf') and File.exist?('/etc/rc.d/')
linux? &&
File.exist?('/etc/rc.conf') &&
File.exist?('/etc/pacman.conf') &&
File.exist?('/etc/rc.d/')
end
# Returns boolean noting whether this is a 64-bit CPU. This