Add version in install script

This commit is contained in:
Pavel Odintsov 2014-12-01 12:30:45 +04:00
parent 9f4a4b0944
commit 4e88faa428

@ -44,7 +44,7 @@ sub install {
# Fix deplist for OpenVZ
if ($kernel_version =~ /stab/) {
$kernel_package_name = 'vzkernel-devel';
$kernel_package_name = "vzkernel-devel-$kernel_version";
}
`yum install -y make bison flex $kernel_package_name gcc gcc-c++`;