[BACK]Return to fw_install.sh CVS log [TXT][DIR] Up to [local] / openbsd / fw_update

Diff for /openbsd/fw_update/fw_install.sh between version 1.141 and 1.142

version 1.141, 2022/01/06 16:38:24 version 1.142, 2022/01/07 00:38:06
Line 286 
Line 286 
 }  }
   
 ALL=false  ALL=false
 OPT_D=  OPT_F=
 while getopts :adDnp:v name  while getopts :adFnp:v name
 do  do
        case "$name" in         case "$name" in
        a) ALL=true ;;         a) ALL=true ;;
        d) DELETE=true ;;         d) DELETE=true ;;
        D) OPT_D=true ;;         F) OPT_F=true ;;
        n) DRYRUN=true ;;         n) DRYRUN=true ;;
        p) LOCALSRC="$OPTARG" ;;         p) LOCALSRC="$OPTARG" ;;
        v) VERBOSE=$(( VERBOSE + 1 )) ;;         v) VERBOSE=$(( VERBOSE + 1 )) ;;
Line 321 
Line 321 
 fi  fi
   
 # "Download only" means local dir and don't install  # "Download only" means local dir and don't install
 if [ "$OPT_D" ]; then  if [ "$OPT_F" ]; then
         INSTALL=false          INSTALL=false
         LOCALSRC="${LOCALSRC:-.}"          LOCALSRC="${LOCALSRC:-.}"
 elif [ "$LOCALSRC" ]; then  elif [ "$LOCALSRC" ]; then
Line 336 
Line 336 
 set -sA devices -- "$@"  set -sA devices -- "$@"
   
 if "$DELETE"; then  if "$DELETE"; then
         [ "$OPT_D" ] && usage 22          [ "$OPT_F" ] && usage 22
   
         # Show the "Uninstalling" message when just deleting not upgrading          # Show the "Uninstalling" message when just deleting not upgrading
         [ "$VERBOSE" -gt 0 ] && VERBOSE=3          [ "$VERBOSE" -gt 0 ] && VERBOSE=3

Legend:
Removed from v.1.141  
changed lines
  Added in v.1.142

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