Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/postinstall XDM Xresources has been extended and th...



details:   https://anonhg.NetBSD.org/src/rev/462227051b41
branches:  trunk
changeset: 449485:462227051b41
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Mar 08 08:19:56 2019 +0000

description:
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.

diffstat:

 usr.sbin/postinstall/postinstall |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 7f6fb672fb7d -r 462227051b41 usr.sbin/postinstall/postinstall
--- a/usr.sbin/postinstall/postinstall  Fri Mar 08 08:12:39 2019 +0000
+++ b/usr.sbin/postinstall/postinstall  Fri Mar 08 08:19:56 2019 +0000
@@ -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 @@
                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}
 }
 



Home | Main Index | Thread Index | Old Index