bstinson / centos / t_functional

Forked from centos/t_functional 4 years ago
Clone

Blame tests/p_lzop/0-install_lzop.sh

vivekd 1aee16
#!/bin/bash
vivekd 1aee16
# Author: Vivek Dubey <dvivek@thoughtworks.com>
vivekd 1aee16
# Akshay Karle <akshayka@thoughtworks.com> 
Christoph Galuschka eb4cba
# Christoph Galuschka <christoph.galuschka@chello.at>
vivekd 1aee16
Christoph Galuschka eebee6
t_Log "Running $0 - installing lzop"
Christoph Galuschka eb4cba
Christoph Galuschka eb4cba
if [ $centos_ver = 5 ]
Christoph Galuschka eb4cba
  then
Christoph Galuschka eb4cba
  t_Log "This is a C5 system. Skipping."
Christoph Galuschka 1dce13
elif [ $(t_GetArch) = i686 ]
Christoph Galuschka 11215f
  then
Christoph Galuschka 11215f
  t_Log "Package not available in i386 architecture. Skipping"
Christoph Galuschka eb4cba
else
Christoph Galuschka eebee6
  t_InstallPackage lzop
Christoph Galuschka eb4cba
fi