[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.13 and 1.14

version 1.13, 2008/11/19 22:35:56 version 1.14, 2008/11/19 22:38:00
Line 1 
Line 1 
 #!/bin/sh  #!/bin/sh
 # $RedRiver: update_openbsd,v 1.12 2008/11/12 06:07:42 andrew Exp $  # $RedRiver: update_openbsd,v 1.13 2008/11/19 22:35:56 andrew Exp $
   
 if [ -e /etc/update_openbsd.conf ]; then  
     . /etc/update_openbsd.conf  
 fi  
   
 if [ -e ${HOME}/.update_openbsdrc ]; then  
     . ${HOME}/.update_openbsdrc  
 fi  
   
 MIRROR=${MIRROR:=ftp://ftp.openbsd.org/pub/OpenBSD}  
 FTP_CMD=${FTP_CMD:=ftp -V}  
 PKG_PATH=${PKG_PATH:=/usr/ports/packages/`machine`/all/:${MIRROR}/`uname -r`/packages/`machine`/}  
   
 DESTDIR=${DESTDIR:=/}  
 SYSMERGE=${SYSMERGE:=/usr/sbin/sysmerge}  
 FORCE_DIR=${FORCE_DIR:=No}  
   
 installed_sets() {  installed_sets() {
     local misc=/usr/share/doc/README      local misc=/usr/share/doc/README
     local man=/usr/share/man/cat1/intro.0      local man=/usr/share/man/cat1/intro.0
Line 40 
Line 24 
         fi          fi
     done      done
 }  }
 INSTALLED_SETS=${INSTALLED_SETS:=`installed_sets`}  
   
 sets_exist () {  sets_exist () {
         local _proto=${FTP%%://*}          local _proto=${FTP%%://*}
Line 358 
Line 341 
         fi          fi
     fi      fi
 }  }
   
   if [ -e /etc/update_openbsd.conf ]; then
       . /etc/update_openbsd.conf
   fi
   
   if [ -e ${HOME}/.update_openbsdrc ]; then
       . ${HOME}/.update_openbsdrc
   fi
   
   MIRROR=${MIRROR:=ftp://ftp.openbsd.org/pub/OpenBSD}
   FTP_CMD=${FTP_CMD:=ftp -V}
   PKG_PATH=${PKG_PATH:=/usr/ports/packages/`machine`/all/:${MIRROR}/`uname -r`/packages/`machine`/}
   
   DESTDIR=${DESTDIR:=/}
   SYSMERGE=${SYSMERGE:=/usr/sbin/sysmerge}
   FORCE_DIR=${FORCE_DIR:=No}
   
   INSTALLED_SETS=${INSTALLED_SETS:=`installed_sets`}
   
 set_version  set_version
 local _error=$?  local _error=$?

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.14

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