[Lunar-commits] r23222 - moonbase/trunk/xorg7/x11-extras/xterm

Moritz Heiber moe at lunar-linux.org
Sat Feb 10 23:16:39 CET 2007


Author: moe
Date: 2007-02-10 23:16:39 +0100 (Sat, 10 Feb 2007)
New Revision: 23222

Modified:
   moonbase/trunk/xorg7/x11-extras/xterm/BUILD
Log:
Make xterm use a login shell by default



Modified: moonbase/trunk/xorg7/x11-extras/xterm/BUILD
===================================================================
--- moonbase/trunk/xorg7/x11-extras/xterm/BUILD	2007-02-10 22:09:30 UTC (rev 23221)
+++ moonbase/trunk/xorg7/x11-extras/xterm/BUILD	2007-02-10 22:16:39 UTC (rev 23222)
@@ -1,6 +1,12 @@
 (
   . /etc/profile.d/x11r7.rc &&
 
-  default_build
+  default_build &&
 
+  # cosmetic but needed adjustments:
+  if ! grep -q 'XTerm*loginShell:' /usr/lib/X11/app-defaults/XTerm ; then
+    echo 'XTerm*loginShell: true' >> /usr/lib/X11/app-defaults/XTerm &&
+    echo 'XTerm*loginShell: true' >> /usr/lib/X11/app-defaults/XTerm-color
+  fi
+
 ) > $C_FIFO 2>&1



More information about the Lunar-commits mailing list