> Author: emaste
> Date: Thu Jan 24 18:41:00 2019
> New Revision: 343409
> URL: https://svnweb.freebsd.org/changeset/base/343409
> 
> Log:
>   freebsd-update: Stop installing empty component sets

Thank you!

>   Submitted by:       Gerald Aryeetey <aryeeteygerald_rogers.com>
>   Reported by:        rgrimes
>   Reviewed by:        delphij
>   MFC after:  1 month
>   Sponsored by:       The FreeBSD Foundation
>   Differential Revision:      https://reviews.freebsd.org/D18927
> 
> Modified:
>   head/usr.sbin/freebsd-update/freebsd-update.sh
> 
> Modified: head/usr.sbin/freebsd-update/freebsd-update.sh
> ==============================================================================
> --- head/usr.sbin/freebsd-update/freebsd-update.sh    Thu Jan 24 18:39:45 
> 2019        (r343408)
> +++ head/usr.sbin/freebsd-update/freebsd-update.sh    Thu Jan 24 18:41:00 
> 2019        (r343409)
> @@ -2195,7 +2195,7 @@ upgrade_guess_components () {
>                   sort -k 2,2 -t ' ' > compfreq.present
>               join -t ' ' -1 2 -2 2 compfreq.present compfreq.total |
>                   while read S P T; do
> -                     if [ ${P} -gt `expr ${T} / 2` ]; then
> +                     if [ ${T} -ne 0 -a ${P} -gt `expr ${T} / 2` ]; then
>                               echo ${S}
>                       fi
>                   done > comp.present
> 
> 

-- 
Rod Grimes                                                 rgri...@freebsd.org
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to