[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] [BUG] opposite of register-archive -f
From: |
Andrew Suffield |
Subject: |
Re: [Gnu-arch-users] [BUG] opposite of register-archive -f |
Date: |
Mon, 19 Jul 2004 01:20:01 +0100 |
User-agent: |
Mutt/1.5.6+20040523i |
On Sun, Jul 18, 2004 at 06:55:39PM -0400, James Blackwell wrote:
> Andrew Suffield wrote:
> > I find myself in need of an argument to register-archive that does the
> > opposite of -f: if the archive is already registered, do nothing.
> >
> > This is specifically intended for the one-argument form, where you are
> > given a URI, and want to register the archive only if it is
> > new. Otherwise it's approximately equivalent to 'whereis-archive ||
> > register-archive'.
>
> address@hidden:~$ tla register-archive /home/jblack/{archives}/2004
> archive already registered: address@hidden
> Registering archive: address@hidden
> $
>
>
> I take it this doesn't work for you. Is the return code or the output
> getting in your way?
Return code. I want that to be 'success', rather than 'failure'.
--
.''`. ** Debian GNU/Linux ** | Andrew Suffield
: :' : http://www.debian.org/ |
`. `' |
`- -><- |
signature.asc
Description: Digital signature