view move-if-change @ 103352:827a8db0b5ad

Synch with Gnus trunk: 2009-06-01 Katsumi Yamaoka <yamaoka@jpl.org> * gnus-art.el (gnus-mime-delete-part): Specify gnus-decoded as charset to deleted part. 2009-05-30 David Engster <dengste@eml.cc> * nnmairix.el: Remove old documentation in the commentary block. (nnmairix-request-group): Do not update active file for nnml back ends. (nnmairix-retrieve-headers): Set gnus-nov-is-evil to t for nnimap back end so that overview files are ignored. (nnmairix-update-groups): Make updating the groups more robust by using marks. (nnmairix-determine-original-group-from-path): Circumvent mairix bug with dollar characters in message-id.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Mon, 08 Jun 2009 22:47:11 +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