Mercurial > emacs
view move-if-change @ 69646:38f28026dd63
2006-03-23 Reiner Steib <reinersteib+gmane@imap.cc>
* pgg-gpg.el (pgg-gpg-update-agent): Check for
make-network-process, so we can use the same code in Gnus v5-10
too and have this file fully synchronized with that release.
author | Simon Josefsson <jas@extundo.com> |
---|---|
date | Thu, 23 Mar 2006 13:13: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