[CLUE-Tech] Fw: recursive up2date script

David Willson dlwillson at thegeek.nu
Wed Jan 21 13:15:02 MST 2004


Greg Knaddison sent me this article which describes the right way to fix
this problem.
http://www.redhat.com/archives/fedora-list/2004-January/msg03379.html
Not every problem is a nail...  Not every problem is best fixed with a
hammer.
:-)
----- Original Message ----- 
From: "David Willson" <dlwillson at thegeek.nu>
To: <linuxfun at thegeek.nu>; <clue-tech at clue.denver.co.us>
Cc: "Robert Davis, AIA" <rob at insideout-design.net>
Sent: Wednesday, 21 January, 2004 11:17
Subject: [CLUE-Tech] Fw: recursive up2date script


> For those of you having trouble running up2date on your Fedora boxen, due
to
> GPG errors in the download:  You may have noticed that up2date resumes
where
> it left off, so persistence does, in this case, pay off.  I wrote a little
> script that basically says: update the box, if you failed, start over.
>
> Yes, I know it's too simple for clue-tech, but I'll be ~someone~ out there
> can use it.
>
> ----- Script ----- 
>
> #!/bin/bash
> # I should do something to limit the number of tries.
> # Update the box entirely.
> up2date --update --force
> # If the exit status is not 0, call this script again.
> [ ! $? -eq 0 ] && $0
>
> _______________________________________________
> CLUE-Tech mailing list
> Post messages to: CLUE-Tech at clue.denver.co.us
> Unsubscribe or manage your options:
http://clue.denver.co.us/mailman/listinfo/clue-tech
>




More information about the clue-tech mailing list