mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 05:14:08 -07:00
Merge pull request #1 from darkworks/darkworks-yum_check
check for yum properly.
This commit is contained in:
commit
bf030103da
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ check_args '1' "$#" 'PACKAGE'
|
|||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
if [ -d "/etc/sysconfig" ]; then
|
||||
if [ -n "$(command -v yum)" ]; then
|
||||
# Clean yum chache
|
||||
yum -q clean all
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue