view move-if-change @ 84463:999e91a73e9d

(startup-screen-inhibit-startup-screen) (pure-space-overflow-message): New vars. (fancy-splash-insert): Allow functions for face and link specs. (fancy-splash-head): Remove unused arg. Move splash text... (fancy-startup-text, fancy-about-text): ...here. (fancy-startup-tail): Rename from fancy-splash-tail. (fancy-startup-screen, fancy-about-screen): Split off from fancy-splash-screens. (display-startup-screen): New function. (display-about-screen): Rename from display-splash-screen. (command-line-1): Use concise startup screen if necessary.
author Chong Yidong <cyd@stupidchicken.com>
date Mon, 10 Sep 2007 22:07:27 +0000
parents 354e0c45cedf
children 14a97ab281d5
line wrap: on
line source

#!/bin/sh
if
test -r $2
then
if
cmp $1 $2 > /dev/null
then
echo $2 is unchanged
rm -f $1
else
mv -f $1 $2
fi
else
mv -f $1 $2
fi