=================================================================== RCS file: /cvs/openbsd/fw_update/fw_install.sh,v retrieving revision 1.135 retrieving revision 1.136 diff -u -r1.135 -r1.136 --- openbsd/fw_update/fw_install.sh 2021/12/25 20:43:40 1.135 +++ openbsd/fw_update/fw_install.sh 2021/12/25 20:48:40 1.136 @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: fw_install.sh,v 1.135 2021/12/25 20:43:40 afresh1 Exp $ +# $OpenBSD: fw_install.sh,v 1.136 2021/12/25 20:48:40 afresh1 Exp $ # # Copyright (c) 2021 Andrew Hewus Fresh # @@ -354,7 +354,7 @@ if [ "${installed:-}" ]; then for fw in "${installed[@]}"; do if "$DRYRUN"; then - echo "Delete $fw" + "$VERBOSE" && echo "Delete $fw" else delete_firmware "$fw" || continue fi @@ -461,10 +461,10 @@ f="${f##*/}" f="${f%.tgz}" if "$removed"; then - "$DRYRUN" && echo "Update $f" + "$DRYRUN" && "$VERBOSE" && echo "Update $f" updated="$updated,$d" else - "$DRYRUN" && echo "Install $f" + "$DRYRUN" && "$VERBOSE" && echo "Install $f" added="$added,$d" fi done