diff options
Diffstat (limited to 'source/x/x11/doinst.sh/xdm')
-rw-r--r-- | source/x/x11/doinst.sh/xdm | 4 |
1 files changed, 2 insertions, 2 deletions
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... } |