upd: -e instead -z

This commit is contained in:
Serghey Rodin 2013-10-15 03:22:23 +03:00
commit 1f9547e9cf

View file

@ -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