[BACK]Return to update_openbsd CVS log [TXT][DIR] Up to [local] / openbsd / update_openbsd

Diff for /openbsd/update_openbsd/update_openbsd between version 1.17 and 1.18

version 1.17, 2009/01/14 17:58:40 version 1.18, 2009/01/14 18:13:23
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver: update_openbsd,v 1.16 2009/01/13 21:47:49 andrew Exp $  # $RedRiver: update_openbsd,v 1.17 2009/01/14 17:58:40 andrew Exp $
   
 installed_sets() {  installed_sets() {
     local misc=/usr/share/doc/README      local misc=/usr/share/doc/README
Line 200 
Line 200 
     echo '### CHECKING SETS ###'      echo '### CHECKING SETS ###'
     cd $RELEASEDIR      cd $RELEASEDIR
   
       local _missing_sets
     local _v=$FILE_VER      local _v=$FILE_VER
   
     for _b in `echo /bsd* bsd bsd.mp bsd.rd | sort -u`; do      for _b in `echo /bsd* bsd bsd.mp bsd.rd | sort -u`; do
Line 210 
Line 211 
         fi          fi
         if [ -e /${_b} -a ! -e ./${_n} ]; then          if [ -e /${_b} -a ! -e ./${_n} ]; then
             echo ${_n} does not exist              echo ${_n} does not exist
               _missing_sets=1
         fi          fi
     done      done
   
     for _s in $INSTALLED_SETS; do      for _s in $INSTALLED_SETS; do
         if [ ! -e ./${_s}${_v}.tgz ]; then          if [ ! -e ./${_s}${_v}.tgz ]; then
             echo ${_s}${_v}.tgz does not exist              echo ${_s}${_v}.tgz does not exist
               _missing_sets=1
         fi          fi
     done      done
   
       if [ X"" == X"${_missing_sets}" ]; then
           echo All OK
       fi
   
     check_md5      check_md5
 }  }

Legend:
Removed from v.1.17  
changed lines
  Added in v.1.18

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>