summaryrefslogtreecommitdiff
path: root/source/x/x11
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11')
-rw-r--r--source/x/x11/build/xdm2
-rw-r--r--source/x/x11/doinst.sh/xdm4
-rw-r--r--source/x/x11/post-install/xdm.post-install2
3 files changed, 4 insertions, 4 deletions
diff --git a/source/x/x11/build/xdm b/source/x/x11/build/xdm
index b4de3947..48082f72 100644
--- a/source/x/x11/build/xdm
+++ b/source/x/x11/build/xdm
@@ -1 +1 @@
-11
+12
diff --git a/source/x/x11/doinst.sh/xdm b/source/x/x11/doinst.sh/xdm
index 68c356c5..fc3b5a67 100644
--- a/source/x/x11/doinst.sh/xdm
+++ b/source/x/x11/doinst.sh/xdm
@@ -4,8 +4,8 @@ config() {
# If there's no config file by that name, mv it over:
if [ ! -r $OLD ]; then
mv $NEW $OLD
- elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # toss the redundant copy
- rm $NEW
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then # MOVE IT OVER TO FIX PERMS
+ mv $NEW $OLD
fi
# Otherwise, we leave the .new copy for the admin to consider...
}
diff --git a/source/x/x11/post-install/xdm.post-install b/source/x/x11/post-install/xdm.post-install
index 31b390d8..9b4c481a 100644
--- a/source/x/x11/post-install/xdm.post-install
+++ b/source/x/x11/post-install/xdm.post-install
@@ -30,8 +30,8 @@ do
# 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
+ chmod --reference=$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
# Change default auth type: