Module Name:    src
Committed By:   martin
Date:           Fri Mar  8 08:19:56 UTC 2019

Modified Files:
        src/usr.sbin/postinstall: postinstall

Log Message:
XDM Xresources has been extended and the new values are important for proper
working of newer XDM. Check for the missing values and ask the user to
fix manually.


To generate a diff of this commit:
cvs rdiff -u -r1.222 -r1.223 src/usr.sbin/postinstall/postinstall

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
diff -u src/usr.sbin/postinstall/postinstall:1.222 src/usr.sbin/postinstall/postinstall:1.223
--- src/usr.sbin/postinstall/postinstall:1.222	Thu Jan 31 10:06:32 2019
+++ src/usr.sbin/postinstall/postinstall	Fri Mar  8 08:19:56 2019
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: postinstall,v 1.222 2019/01/31 10:06:32 msaitoh Exp $
+# $NetBSD: postinstall,v 1.223 2019/03/08 08:19:56 martin Exp $
 #
 # Copyright (c) 2002-2015 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -1855,6 +1855,12 @@ do_x11()
 		fi
 	done
 
+	# check if xdm resources have been updated
+	if ! ${GREP} 'inpColor:' ${_etcx11}/xdm/Xresources > /dev/null; then
+		msg "Update ${_etcx11}/xdm/Xresources${_notfixed}"
+		failed=1
+	fi
+
 	return ${failed}
 }
 

Reply via email to