view move-if-change @ 65755:7b615e6c0ea5

2005-09-30 Bill Wohler <wohler@newt.com> Moved MH-E image files from toolbar and mail directories into etc/images. * mail/reply2.*: Moved to etc/images/mail/reply*. * toolbar/execute.*, toolbar/highlight.*, toolbar/mh-logo.xpm: * toolbar/page-down.*, toolbar/show.*, toolbar/widen.*: Moved to etc/images. * toolbar/alias.*, toolbar/refile.*, toolbar/repack.*: * toolbar/reply*: Moved to etc/images/mail. * toolbar/rescan.*: Moved and renamed to etc/images/refresh.*. * mh-e/mh-customize.el (mh-refile-msg, mh-tool-bar-reply-from) (mh-tool-bar-reply-to, mh-tool-bar-reply-all) (mh-alias-grab-from-field, mh-pack-folder): Image files moved to etc/images/mail so added "mail/" prefix. (mh-reply): Ditto. Also renamed reply2.* to reply.*. (mh-rescan-folder): Ditto. Renamed image file to refresh.* since it can be used in the general sense. Does not have "mail/" prefix.
author Bill Wohler <wohler@newt.com>
date Fri, 30 Sep 2005 17:48:04 +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