Jelajahi Sumber

upd: -e instead -z

Serghey Rodin 12 tahun lalu
induk
melakukan
1f9547e9cf
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      bin/v-update-sys-vesta

+ 1 - 1
bin/v-update-sys-vesta

@@ -33,7 +33,7 @@ check_args '1' "$#" 'PACKAGE'
 #                       Action                             #
 #                       Action                             #
 #----------------------------------------------------------#
 #----------------------------------------------------------#
 
 
-if [ -z "/etc/redhat-release" ]; then
+if [ -e "/etc/redhat-release" ]; then
     # Clean yum chache
     # Clean yum chache
     yum -q clean all
     yum -q clean all