Module Name: src
Committed By: martin
Date: Thu Feb 27 18:53:04 UTC 2020
Modified Files:
src/usr.sbin/postinstall [netbsd-9]: postinstall.in
Log Message:
Pull up following revision(s) (requested by nakayama in ticket #738):
usr.sbin/postinstall/postinstall.in: revision 1.15
Fix the fixup script to follow the URL change in /etc/motd (http->https).
PR install/54990, pullup-9
To generate a diff of this commit:
cvs rdiff -u -r1.5.2.3 -r1.5.2.4 src/usr.sbin/postinstall/postinstall.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/postinstall/postinstall.in
diff -u src/usr.sbin/postinstall/postinstall.in:1.5.2.3 src/usr.sbin/postinstall/postinstall.in:1.5.2.4
--- src/usr.sbin/postinstall/postinstall.in:1.5.2.3 Thu Jan 2 09:09:01 2020
+++ src/usr.sbin/postinstall/postinstall.in Thu Feb 27 18:53:04 2020
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $NetBSD: postinstall.in,v 1.5.2.3 2020/01/02 09:09:01 martin Exp $
+# $NetBSD: postinstall.in,v 1.5.2.4 2020/02/27 18:53:04 martin Exp $
#
# Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -1237,7 +1237,7 @@ do_motd()
if ${GREP} -i 'http://www.NetBSD.org/Misc/send-pr.html' \
"${DEST_DIR}/etc/motd" >/dev/null 2>&1 \
- || ${GREP} -i 'http://www.NetBSD.org/support/send-pr.html' \
+ || ${GREP} -i 'https*://www.NetBSD.org/support/send-pr.html' \
"${DEST_DIR}/etc/motd" >/dev/null 2>&1
then
tmp1="$(mktemp /tmp/postinstall.motd.XXXXXXXX)"