Mercurial > hg > xemacs-beta
view move-if-change @ 1483:410360d3e34e
[xemacs-hg @ 2003-05-14 23:57:34 by youngs]
2003-05-15 Steve Youngs <youngs@xemacs.org>
* package-get.el (package-get-package-index-file-location): New,
so it is possible to specify a location for the index file.
(package-get-locate-index-file): Use it.
(package-get-maybe-save-index): Ditto.
(package-get-user-index-filename): Remove.
author | youngs |
---|---|
date | Wed, 14 May 2003 23:57:35 +0000 |
parents | 376386a54a3c |
children |
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