Parcourir la source

upd: -e instead -z

Serghey Rodin il y a 12 ans
Parent
commit
1f9547e9cf
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      bin/v-update-sys-vesta

+ 1 - 1
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