diff options
Diffstat (limited to 'source/x/x11/post-install')
-rw-r--r-- | source/x/x11/post-install/xdm.post-install | 9 | ||||
-rw-r--r-- | source/x/x11/post-install/xsm.post-install | 5 |
2 files changed, 7 insertions, 7 deletions
diff --git a/source/x/x11/post-install/xdm.post-install b/source/x/x11/post-install/xdm.post-install index 73611b47e..a88899705 100644 --- a/source/x/x11/post-install/xdm.post-install +++ b/source/x/x11/post-install/xdm.post-install @@ -19,9 +19,14 @@ chmod 0755 $PKG/etc/X11/xdm/Xsession $PKG/etc/X11/xdm/Xsetup_0 for conffile in \ Xaccess Xreset Xresources Xservers Xsession Xsetup_0 Xstartup Xwilling \ - GiveConsole TakeConsole chooser xdm-config ../app-defaults/Chooser ; + GiveConsole TakeConsole xdm-config ../app-defaults/Chooser ; do - mv $PKG/etc/X11/xdm/${conffile} $PKG/etc/X11/xdm/${conffile}.new ; + # Use awk to strip leading blank lines... weird bug that cropped up in the + # pre Slackware-14.1 development cycle. + awk "/[^ ]/ { copy=1 }; copy { print }" $PKG/etc/X11/xdm/${conffile} > $PKG/etc/X11/xdm/${conffile}.new + touch -r $PKG/etc/X11/xdm/${conffile} $PKG/etc/X11/xdm/${conffile}.new + rm -f $PKG/etc/X11/xdm/${conffile} + #mv $PKG/etc/X11/xdm/${conffile} $PKG/etc/X11/xdm/${conffile}.new ; done mkdir -p $PKG/var/lib/xdm diff --git a/source/x/x11/post-install/xsm.post-install b/source/x/x11/post-install/xsm.post-install deleted file mode 100644 index 509b84477..000000000 --- a/source/x/x11/post-install/xsm.post-install +++ /dev/null @@ -1,5 +0,0 @@ -mkdir -p $PKG/etc/X11 -( cd $PKG/usr/lib/X11 - mv xsm $PKG/etc/X11 - ln -sf ../../../etc/X11/xsm . -) |