[arch-dev-public] [PATCH] Allow repo name to be specified on command line

Aaron Griffin aaronmgriffin at gmail.com
Fri May 30 20:25:21 EDT 2008


On Fri, May 30, 2008 at 6:44 PM,  <dpmcgee at gmail.com> wrote:
> From: Dan McGee <dan at archlinux.org>
>
> Move the extrapkg script to the name repopkg. All of the corepkg/extrapkg
> etc. scripts will retain their same behavior; however if the program is
> called with the name repopkg the first parameter passed will be used as the
> repository name to upload to.
>
> Note that the non-existence of this directory on the remote end will
> probably result in failure.
>
> Signed-off-by: Dan McGee <dan at archlinux.org>

Would you mind doing a:
if name == repopkg:
   if $# -ne 1:
      omg abort! yell yell yell




More information about the arch-dev-public mailing list