=================================================================== RCS file: /cvs/openbsd/fw_update/fw_install.sh,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- openbsd/fw_update/fw_install.sh 2021/10/21 02:17:27 1.20 +++ openbsd/fw_update/fw_install.sh 2021/10/21 02:25:32 1.21 @@ -130,7 +130,7 @@ # Cleanup from previous runs. rm -f $_cfile $_cfile.sig - _t=Get/Verify + _t=Get/Verify ! $_unpriv ftp -D "$_t" -Vmo - "$_src/SHA256.sig" >"$_cfile.sig" && _issue="Cannot fetch SHA256.sig" && fail @@ -147,7 +147,7 @@ [ -e "$fw" ] || continue echo ${fw##*/} done - ) + ) for _i in $_installed; do if [ "$_f" = "$_i.tgz" ]; then @@ -200,8 +200,8 @@ esac done < "${PKGDIR}/$_installed/+CONTENTS" - # We specifically rm -f here because not removing files/dirs - # is probably not worth failing over. + # We specifically rm -f here because not removing files/dirs + # is probably not worth failing over. for _r in "${_remove[@]}" ; do if [ -d "$_r" ]; then # Try hard not to actually remove recursively @@ -213,7 +213,7 @@ done fi - # TODO: Should we mark these so real fw_update can -Drepair? + # TODO: Should we mark these so real fw_update can -Drepair? echo "Installing $_f" tar -zxphf "$_tmpsrc/$_f" -C "${DESTDIR}/etc" "firmware/*" mkdir -p ${PKGDIR}/${_f%.tgz}/