mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
upd: -e instead -z
This commit is contained in:
parent
12a6ec673f
commit
1f9547e9cf
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ check_args '1' "$#" 'PACKAGE'
|
|||
# Action #
|
||||
#----------------------------------------------------------#
|
||||
|
||||
if [ -z "/etc/redhat-release" ]; then
|
||||
if [ -e "/etc/redhat-release" ]; then
|
||||
# Clean yum chache
|
||||
yum -q clean all
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue