From 1f9547e9cf380b804cca67e3a8d16fece921738f Mon Sep 17 00:00:00 2001 From: Serghey Rodin Date: Tue, 15 Oct 2013 03:22:23 +0300 Subject: [PATCH] upd: -e instead -z --- bin/v-update-sys-vesta | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/v-update-sys-vesta b/bin/v-update-sys-vesta index f6bebe0e..d47fb9f0 100755 --- a/bin/v-update-sys-vesta +++ b/bin/v-update-sys-vesta @@ -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