Unbreak etcupdate(8) and mergemaster(8) after r352950

r352950 introduced improper case fall-through for shell scripts. Fix it with
a pipe.

Reported by:	lwhsu, David Wolfskill
This commit is contained in:
Kyle Evans 2019-10-02 12:46:28 +00:00
parent bb2d815739
commit 0da4b4089c
2 changed files with 2 additions and 4 deletions

View File

@ -595,8 +595,7 @@ post_install_file()
NEWALIAS_WARN=yes
fi
;;
/usr/share/certs/trusted/*)
/usr/share/certs/blacklisted/*)
/usr/share/certs/trusted/* | /usr/share/certs/blacklisted/*)
log "certctl rehash"
if [ -z "$dryrun" ]; then
env DESTDIR=${DESTDIR} certctl rehash >&3 2>&1

View File

@ -883,8 +883,7 @@ mm_install () {
/etc/mail/aliases)
NEED_NEWALIASES=yes
;;
/usr/share/certs/trusted/*)
/usr/share/certs/blacklisted/*)
/usr/share/certs/trusted/* | /usr/share/certs/blacklisted/*)
NEED_CERTCTL=yes
;;
/etc/login.conf)