[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.121 and 1.125

version 1.121, 2019/03/02 01:02:02 version 1.125, 2019/04/23 23:38:48
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $AFresh1: update_openbsd,v 1.120 2019/03/02 00:34:34 andrew Exp $  # $AFresh1: update_openbsd,v 1.124 2019/03/31 21:10:01 andrew Exp $
 #  #
 # Copyright (c) 2012 Andrew Fresh <andrew@afresh1.com>  # Copyright (c) 2012 Andrew Fresh <andrew@afresh1.com>
 #  #
Line 649 
Line 649 
     . ${HOME}/.update_openbsdrc      . ${HOME}/.update_openbsdrc
 fi  fi
   
   if [ -z "$MIRROR" -a -e /etc/installurl ]; then
           MIRROR=$(head -1 /etc/installurl)
   fi
 MIRROR=${MIRROR:=http://cdn.openbsd.org/pub/OpenBSD}  MIRROR=${MIRROR:=http://cdn.openbsd.org/pub/OpenBSD}
 FTP_CMD=${FTP_CMD:=ftp -V}  FTP_CMD=${FTP_CMD:=ftp -V}
   
Line 775 
Line 778 
         echo "==> UPDATING WITH $OPENUP"          echo "==> UPDATING WITH $OPENUP"
         $OPENUP          $OPENUP
     else      else
           if [ X"snapshots" != X"$FORCE_DIR" ]; then
               echo '==> RUNNING SYSPATCH'
               syspatch
           fi
         echo '==> UPDATING PACKAGES'          echo '==> UPDATING PACKAGES'
         pkg_add -u          pkg_add -u
     fi      fi

Legend:
Removed from v.1.121  
changed lines
  Added in v.1.125

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