2012-09-26 03:10:42 +02:00
|
|
|
diff -Nur WindowMaker-0.95.2.orig/util/wmaker.inst.in WindowMaker-0.95.2/util/wmaker.inst.in
|
|
|
|
--- WindowMaker-0.95.2.orig/util/wmaker.inst.in 2012-02-14 13:36:01.000000000 -0600
|
|
|
|
+++ WindowMaker-0.95.2/util/wmaker.inst.in 2012-02-14 18:25:28.213206250 -0600
|
|
|
|
@@ -33,20 +33,7 @@
|
2009-08-26 17:00:38 +02:00
|
|
|
|
2012-09-26 03:10:42 +02:00
|
|
|
make_script() {
|
|
|
|
ISCRIPT="$1"
|
|
|
|
-
|
|
|
|
- cat << EOF >> "$ISCRIPT"
|
2009-08-26 17:00:38 +02:00
|
|
|
-# Window Maker default X session startup script
|
|
|
|
-
|
|
|
|
-PATH="\$PATH:$BINDIR"
|
|
|
|
-
|
|
|
|
-# If you login from xdm, uncomment this to make error messages appear
|
|
|
|
-# in the console window.
|
|
|
|
-#
|
2012-09-26 03:10:42 +02:00
|
|
|
-# tail -f "$HOME"/.xsession-errors > /dev/console &
|
2009-08-26 17:00:38 +02:00
|
|
|
-
|
|
|
|
-exec wmaker
|
|
|
|
-
|
|
|
|
-EOF
|
2012-09-26 03:10:42 +02:00
|
|
|
+ cat /etc/X11/xinit/xinitrc.wmaker >> $ISCRIPT
|
|
|
|
chmod +rx "$ISCRIPT"
|
2009-08-26 17:00:38 +02:00
|
|
|
}
|
|
|
|
|
2012-09-26 03:10:42 +02:00
|
|
|
@@ -298,19 +285,7 @@
|
2009-08-26 17:00:38 +02:00
|
|
|
|
|
|
|
trap "show_end_message;exit" 2
|
|
|
|
|
|
|
|
-echo
|
|
|
|
-echo "Now the .xinitrc, .Xclients or .xsession script must be updated so that"
|
|
|
|
-echo "it calls wmaker when you start an X session."
|
|
|
|
-echo "Type the name of the file that must be changed (normally .xinitrc)."
|
|
|
|
-echo "If the file already exists, it will be backed up with a .old.$DATE "
|
|
|
|
-echo "extension"
|
|
|
|
-echo "If you want to edit it by hand, hit <Control>-C now."
|
|
|
|
-read file
|
|
|
|
-
|
|
|
|
-if test "x$file" = "x"; then
|
|
|
|
- echo "Using .xinitrc as a default value"
|
|
|
|
- file=.xinitrc
|
|
|
|
-fi
|
|
|
|
+file=.xinitrc
|
2012-09-26 03:10:42 +02:00
|
|
|
|
|
|
|
if [ -f "$USERDIR/$file" ]; then
|
|
|
|
mv "$USERDIR/$file" "$USERDIR/$file.old.$DATE"
|