On Feb 23 21:28, Christian Boltz wrote:
> Hello,
>
> Am Donnerstag, 16. Februar 2017, 19:58:39 CET schrieb Robert Moskowitz:
> > On a mail server with no GUI, is there a nice wget command to download
> > the .tar.gz directly to the server?
> >
> > Something like
> >
> > wget
> > https://sourceforge.net/projects/postfixadmin/<mumble-mumble>/postfixa
> > dmin-n.n.n.tar.gz
> >
> > ?
> >
> > Or does this defeat the download count feature of sourceforge?
>
> AFAIK Sourceforge doesn't provide direct wget'able download URLs, so
> you'll always have to start at the web interface.
They're just well-hidden! Try:
# pkgver=3.0.2
# wget https://downloads.sourceforge.net/project/postfixadmin/postfixadmin/postfixadmin-${pkgver}/postfixadmin-${pkgver}.tar.gz
Lifted from the Arch Linux PKGBUILD:
https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/postfixadmin
-Aaron
|