Method: Dory::Os.arch_cmd
- Defined in:
- lib/dory/os.rb
.arch_cmd ⇒ Object
43 44 45 46 47 48 49 50 51 |
# File 'lib/dory/os.rb', line 43 def self.arch_cmd %q( if $(which lsb_release >/dev/null 2>&1); then lsb_release -d | grep --color=auto "Arch" > /dev/null else uname -a | grep --color=auto "ARCH" > /dev/null fi ) end |