[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.17 and 1.18

version 1.17, 2021/10/18 00:24:55 version 1.18, 2021/10/18 00:33:07
Line 183 
Line 183 
                 fi                  fi
   
                 # TODO: Check hash for files before deleting                  # TODO: Check hash for files before deleting
                 if [ "$installed" ] && [ -e "${PKGDIR}/$installed/+CONTENTS" ]; then                  if [ "$_installed" ] && [ -e "${PKGDIR}/$_installed/+CONTENTS" ]; then
                         echo "Uninstalling $installed"                          echo "Uninstalling $_installed"
                         cwd=${PKGDIR}/$installed                          cwd=${PKGDIR}/$_installed
   
                         set -A _remove -- "${cwd}/+CONTENTS" "${cwd}"                          set -A _remove -- "${cwd}/+CONTENTS" "${cwd}"
   
Line 198 
Line 198 
                                 *)  set -A _remove -- "$cwd/$c" "${_remove[@]}"                                  *)  set -A _remove -- "$cwd/$c" "${_remove[@]}"
                                   ;;                                    ;;
                                 esac                                  esac
                         done < "${PKGDIR}/$installed/+CONTENTS"                          done < "${PKGDIR}/$_installed/+CONTENTS"
   
                         for _r in "${_remove[@]}" ; do                          for _r in "${_remove[@]}" ; do
                                 if [ -d "$_r" ]; then                                  if [ -d "$_r" ]; then

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

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