diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh index d603109de1cd..f3ecf1f3fd9b 100644 --- a/usr.sbin/freebsd-update/freebsd-update.sh +++ b/usr.sbin/freebsd-update/freebsd-update.sh @@ -2196,9 +2196,9 @@ EOF # Store merged files. while read F; do - V=`${SHA256} -q merge/new/${F}` - if [ -f merge/new/${F} ]; then + V=`${SHA256} -q merge/new/${F}` + gzip -c < merge/new/${F} > files/${V}.gz echo "${F}|${V}" fi