summaryrefslogtreecommitdiffstats
path: root/source/x/x11/doinst.sh/xdm
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/doinst.sh/xdm')
-rw-r--r--source/x/x11/doinst.sh/xdm5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/x/x11/doinst.sh/xdm b/source/x/x11/doinst.sh/xdm
index fc3b5a679..78d53d822 100644
--- a/source/x/x11/doinst.sh/xdm
+++ b/source/x/x11/doinst.sh/xdm
@@ -21,3 +21,8 @@ do
config etc/X11/xdm/${conffile}.new
done
+# Prevent a black background for login/password when upgrading from xdm-1.1.1
+# and ignoring the .new files :-)
+if ! grep -q inpColor etc/X11/xdm/Xresources ; then
+ echo 'xlogin*inpColor: grey80' >> etc/X11/xdm/Xresources
+fi