Mercurial > emacs
view move-if-change @ 69689:d9ccf8ac6466
2006-03-27 Daiki Ueno <ueno@unixuser.org>
* pgg-gpg.el: Invoke gpg asynchronous, to avoid querying for
passphrases when it is not needed.
(pgg-gpg-use-agent): Add, to hard code that pgg shouldn't wait for
passphrase stuff from gpg, should only be necessary when you use
gpg with a smartcard.
author | Simon Josefsson <jas@extundo.com> |
---|---|
date | Mon, 27 Mar 2006 09:36:18 +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