\!/ KyuuKazami \!/

Path : /scripts/
Upload :
Current File : //scripts/installrpm2

#!/usr/local/cpanel/3rdparty/bin/perl
# cpanel - installrpm2                               Copyright 2012 cPanel, Inc.
#                                                           All rights Reserved.
# copyright@cpanel.net                                         http://cpanel.net
# This code is subject to the cPanel license. Unauthorized copying is prohibited
# Installs a package requested on command line

$| = 1;

system '/usr/local/cpanel/scripts/checkyum', '--kernel';
die 'checkyum --kernel exited nonzero' if $?;
system 'yum', '-y', 'install', @ARGV;
system '/usr/local/cpanel/scripts/checkyum', '--nokernel';
die 'checkyum --nokernel exited nonzero' if $?;
exit;

@KyuuKazami